Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-11-2009, 08:00 AM   #1
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up vsftp permission


i have two dir:data and docs

i have two groups:admin and sysadmin

i have three users in admin:u1,u2,u3

i have three users in sysadmin:u4,u5,u6

i want to setup an ftp server such that:

data is rwx to u1 and r-- to u2 and u3;also data is r-- to sysadmin group users(i.e. u4,u5,u6)

docs is rwx to u4 and r-- to u5 and u6;also docs is r-- to admin grops users(i.e. u1,u2,u3)

is it possible to achieve this?


Old 11-12-2009, 12:59 AM   #2
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
chown and chmod

hey there

#chown u1:admin data/
#chown u4:sysadmin docs/

#chmod 744 data/
#chmod 744 docs/
Just little extra logic is required.
I am a newbie so i hope this is right.

MODs please confirm if this is right


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
VSFTP Server : Folder Permission setup simon.unix Linux - Networking 3 12-12-2009 03:58 PM
vsFTP permission problem PhillipHuang Red Hat 2 01-01-2007 12:57 AM
Vsftp Upload/Download permission acbenny Linux - Networking 7 08-02-2004 04:31 PM
Vsftp upload/download permission acbenny Linux - General 0 07-28-2004 11:17 AM
vsftp umask and permission problem dagalicous Linux - Software 2 10-22-2003 09:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration