www.ProFTPD.de
13. März 2007, 18:31:07 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: How to set automatically sticky bit on dirs. when created?  (Gelesen 468 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Merijn
ProFTPD
*
Offline Offline

Beiträge: 1


Profil anzeigen
« 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"  Traurig  Does anybody know if this is even possible..?
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #1 am: 08. September 2005, 16:43:40 »

I do not think its possible.
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.05 Sekunden mit 16 Zugriffen.