LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-05-2005, 10:22 AM   #1
dutch2005
LQ Newbie
 
Registered: Sep 2005
Location: Netherlands
Distribution: Debian 3.1
Posts: 2

Rep: Reputation: 0
ProFTPD: Set umask so that directories are created with 'sticky bit' on.


I use ProFTPD Version 1.2.10 and would like to setup that when a user creates a directory it automatically has the permission 755 and sticky bit on... but whatever i change in proftpd.conf, it doesn't work

I tried things like:

Umask 022 1002
Umask 022 01002

Does anybody know if this is even possible with FTP?

Thanks!
 
Old 09-06-2005, 05:06 AM   #2
dutch2005
LQ Newbie
 
Registered: Sep 2005
Location: Netherlands
Distribution: Debian 3.1
Posts: 2

Original Poster
Rep: Reputation: 0
Got a reply from the proftp-user mailing list:
the sticky bit can't be added using umask. Maybe mod_exec and running chmod after each mkdir, or other module that can do this (If there's any)

- I will test with mod_exec and post results here on the forum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sticky Bit Doesn't Seem to work krishvij Linux - Newbie 5 05-10-2005 05:31 PM
About umask of proftpd tommyliu Linux - Software 2 03-16-2005 08:05 PM
can you set a default umask for only certain directories? BrianK Linux - General 3 06-14-2004 09:02 PM
Sticky Bit tarballed Linux - General 4 07-03-2002 03:54 PM
sticky bit motiram Linux - General 1 08-01-2001 12:34 PM


All times are GMT -5. The time now is 03:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration