LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-05-2007, 07:51 AM   #1
cristi32
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
proftpd with virtual users and sticky bit


hello guys , i succeed after a lot of time to make work proftpd with virtual users .i work with ftpasswd and i define all virtual users member of a "virtual group" ,called 1200. attention this GID dont exist in /etc/group si virtual users dont exists in /etc/passwd .

everithing is good ,the users are chrooted , i succeed to mount some common folders in which all the users can write with the underneath commands.
mount --bind /home/ftpwork /home/user1/work
mount --bind /home/ftpwork /home/user2/work
.....
.....
mount --bind /home/ftpwork /home/usern/work

and i define rights like this
drwxrws--- 2 root 1200 48 2007-12-05 10:28 ftpwork ,
this is the common folder pointed with mount --bind linkek by the folders "work" which are exist in all user's home directories.
after i mount this folders ,i can view that the permission rights are changed from
drwxr-xr-x 2 1102 users 48 2007-11-22 18:11 work ,
to
drwxrws--- 2 root 1200 48 2007-12-05 10:28 work
The problem is that the sticky bit defined for the "virtual group" 1200 doesnt work right,because a virtual user can delete a file that are put by another virtual user. i want that only the user which are put the file can overwrite or delete this file, all other users can only read this file. why the sticky bit dont work right ??????????????
drwxrws--- 2 root 1200 48 2007-12-05 10:28 ftpwork , that " s " from group rights must be the sticky bit but it doesnt work good.

please helppppppppppppp
 
Old 12-06-2007, 06:11 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
http://www.uwsg.iu.edu/usail/tasks/fileper/fileper.html
 
  


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
About Sticky bit... masudur_iiu General 4 09-13-2006 10:23 AM
ProFTPD: Set umask so that directories are created with 'sticky bit' on. dutch2005 Linux - Software 1 09-06-2005 05:06 AM
ProFtpd and adding virtual users gbj Linux - Networking 0 03-17-2005 01:37 AM
Virtual users with proftpd? Other ftpds? NonSumPisces Linux - Software 1 08-26-2004 08:00 PM
Sticky Bit tarballed Linux - General 4 07-03-2002 03:54 PM


All times are GMT -5. The time now is 08:41 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