[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-users
Subject: RE: [Proftpd-user] File permision problem in ProFTPD
From: "Michael K" <micke () klintan ! se>
Date: 2003-02-26 23:56:13
[Download RAW message or body]
Thanks TJ.
Now I have permission 3770 on the directory, and it works like
expected.
Regards Michael
> -----Original Message-----
> From: proftp-user-admin@proftpd.org
> [mailto:proftp-user-admin@proftpd.org] On Behalf Of TJ Saunders
> Sent: Thursday, February 27, 2003 12:09 AM
> To: proftpd-users@proftpd.org
> Cc: proftp-user@proftpd.org
> Subject: Re: [Proftpd-user] File permision problem in ProFTPD
>
>
>
> micke>own by otheruser:ftpusers, but the "user" CAN remove
> "otheruser"
> micke>uploaded files as well. Why and how can I fix this?
>
> This is the way Unix file permissions work: deleting a file
> is not considered a "write" to that file, but rather a
> "write" to the directory containing the file. This means
> that a user that has write privileges to the directory can
> delete any files in that directory, regardless of those files' owner.
>
> Setting the sticky bit on the directory can change this slightly:
>
> The `sticky' bit (S_ISVTX) on a directory means that a
> file in that directory can be renamed or deleted only by
> the owner of the file, by the owner of the directory, and
> by root.
>
> Hope this helps,
> TJ
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~
>
> Are you not ashamed of your eagerness to possess as much
> wealth, reputation
> and honors as possible while you do not care for nor give
> thought to wisdom
> or truth, or the best possible state of your soul?
>
> -Socrates
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Scholarships for Techies!
> Can't afford IT training? All 2003 ictp students receive
> scholarships. Get hands-on training in Microsoft, Cisco, Sun,
> Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp
> _______________________________________________
> ProFTPD Users List <proftpd-users@proftpd.org>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic