www.ProFTPD.de

ProFTPD => ProFTPD - English => Thema gestartet von: Merijn am 07. September 2005, 10:10:55



Titel: How to set automatically sticky bit on dirs. when created?
Beitrag von: Merijn am 07. September 2005, 10:10:55
I want to create the following situation. I have 2 ftp users who should be able to read each other's files and directories but won't be able to delete / edit except their own files and directories.

I think this should be done with the sticky bit but how can i setup that when a user creates a directory it automatically has sticky bit on?

I tried the following in the proftpd.conf, but this doesn't work.
Umask 022 1002
Umask 022 01002
(The directory created now has permissions 775 now but no sticky bit, so it is still possible that they delete / edit each other's files.)

Now i'm trying mod_exec but don't understand how setup "chmod after each mkdir"  :(  Does anybody know if this is even possible..?


Titel: Re: How to set automatically sticky bit on dirs. when create
Beitrag von: stonki am 08. September 2005, 16:43:40
I do not think its possible.