Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-04-2003, 01:57 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 18

Rep: Reputation: 0
One Directory, multiple users

I am wondering how to do group access to a directoy via FTP. I am using vsftp and rh9.

I have added a group, and added several users to this group. And now I want all these users to have access to a particular directory via FTP. The folder would be something like, /home/Common or something like that.

Thanks for any help.
Old 09-04-2003, 02:02 PM   #2
Registered: Aug 2003
Distribution: Dead Rat
Posts: 182

Rep: Reputation: 48
Aren't users who FTP into a host taken to the home directory listed in /etc/passwd by default?

Usually /home/userid, but you could use the command "usermod -d /home/common userid" to change it.

I am not familiar with your FTP server daemon (I use SFTP only these days) so take this with a grain of salt....
Old 09-04-2003, 02:06 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 18

Original Poster
Rep: Reputation: 0
I don't want to change their home directory though.

Would it be better/easier just to give everyone the username and password for that directory instead of letting everyone have their own?

I will probably just do that.
Old 09-04-2003, 02:07 PM   #4
Senior Member
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,749

Rep: Reputation: 71
I'm not familiar with vsftp, but to change the local permissions to give the group users ownership issue this command, chgrp users /home/common . If you want to have the user and group that owns the directory read/write/execute issue the command chmod 770 /home/common. I beleive in most if not all FTP servers, you can setup permissions within the deamon itself.
Old 09-04-2003, 02:09 PM   #5
LQ Newbie
Registered: Aug 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks Tom. I will try that out.


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
Sharing one home directory with multiple users cwolf78 Linux - Software 11 05-08-2005 07:58 PM
Multiple users with the same name...users command buldir Linux - General 2 08-30-2004 05:34 PM
multiple users windowsrefugeeX Linux - Software 2 08-21-2004 09:49 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 10:24 PM
Multiple users..... starea1 Linux - Security 3 01-29-2003 10:53 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:33 PM.

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