Visit Jeremy's Blog.
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-01-2011, 06:13 PM   #1
LQ Newbie
Registered: Sep 2010
Location: Northern California
Distribution: Ubuntu 9.1, Debian
Posts: 4

Rep: Reputation: 0
File and directory permissions for FTP server multiple users (howto)

Hi, I inherited a Fedora 10 FTP server, initially there was only one FTP user account with one password but things have changed and a request has been made to setup different FTP user accounts and limit access for each user to one directory.

I took the simple approach and assigned each "drwx" permissions and it basically works but in testing I notice two things:
1 - Each user can change directories up one level and see the other directory names. The good news is you get a 550 error unable to change directory to any but your own.
2 - More perplexing to me is each of the users can change to the root "/" directory and can change to some of the directories and even "get" some of the files.

Probably something fundamental I've overlooked or just not aware of. I'm not a Unix/Linux sysadmin I'm only asked to play one on occasions and I have a number of systems in my lab mostly Ubuntu 9.10.

Maybe there's a better way to setup an FTP server I'm not aware of. Thanks for any pointer.
Old 11-01-2011, 09:03 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,167

Rep: Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680Reputation: 2680
Would be good to know which ftp server and version; guessing vsftp.
You could try
rpm -qa|grep -i ftp
Also it usually tells you when you connect.
If it IS vsftpd, try these links
1 members found this post helpful.


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
How to setup file permissions for multiple groups/users that use Windows AND Linux unassassinable Linux - Security 4 11-02-2010 08:00 PM
Help on setting up multiple FTP users on Ubuntu Server 9.04 with proFTPD Jamie Kugelmann Linux - Server 1 12-23-2009 02:31 AM
sending a file thru ftp to multiple users at a time.... visitnag Linux - Desktop 7 02-05-2009 10:57 AM
all users can see the all directory in my ftp server padideh Linux - Server 3 03-24-2007 05:01 AM
ftp: howto work with file-permissions Schmurff Mandriva 1 06-20-2004 08:52 PM > Forums > Linux Forums > Linux - Newbie

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