Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-05-2005, 11:22 AM   #1
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?

Old 09-06-2005, 06:06 AM   #2
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


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 06:31 PM
About umask of proftpd tommyliu Linux - Software 2 03-16-2005 09:05 PM
can you set a default umask for only certain directories? BrianK Linux - General 3 06-14-2004 10:02 PM
Sticky Bit tarballed Linux - General 4 07-03-2002 04:54 PM
sticky bit motiram Linux - General 1 08-01-2001 01:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 AM.

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