[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pureftpd-list
Subject:    Re: [pure-ftpd] r-- root dot files deletable by users
From:       Adam Tworkowski <atworkowski () masterfile ! com>
Date:       2007-07-27 13:26:34
Message-ID: 46A9F28A.4060109 () masterfile ! com
[Download RAW message or body]

Hi Raúl,

Yes, you are right.  I was a little confused (its been a long week).  I
based my observation on behaviour of smb to the same directory (which
does acknowledge roots ownership).

Adam

DervishD wrote:
>     Hi Adam,
> 
>  * Adam Tworkowski <atworkowski@masterfile.com> dixit:
>> I have a situation where the user may delete a dot file within the
>> user's ftp dir.  The user does not have any form of ownership over the
>> file.
> 
>     Permissions of the file have nothing to do to be able to delete it.
> Permissions *of the dir containing the file* have to do. If a file is
> r-- for root (and --- for group and other, I assume), I can (as a normal
> user) delete it without problems if I have write permissions on the dir
> where the file resides.
> 
>     This has nothing to do with the ftp server, just make sure that you
> have correct UNIX permissions ;)
> 
>     Raúl Núñez de Arenas Coronado
> 





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic