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 05-07-2005, 07:31 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 13

Rep: Reputation: 0
FTP users prevent browsing to other directories

hi there,

I've installed my first fedora box to use as a ftp server for my network, locally and public. For the public users they will be redirected to the /var/ftp/pub/ directory, and have upload and download permissions.

What i would like to prevent is that these users are able to browse to the upper directories in the tree.

I've added the users for public ftp only to the ftp group, but still they are able to browse to the etc directory and download my config files.

how do i prevent this from happening?

thanks a lot for your help.
Old 05-07-2005, 08:18 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
chroot is your friend.. and if your using vsftpd, it has an option you can put in your vsftpd.conf file to do this as well.. locks users in their home directory.
Old 05-07-2005, 10:03 AM   #3
LQ Newbie
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
thnx, should have spotted that myself :P works fine now.


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
FTP virtual users with different home directories remi Linux - Software 14 07-27-2009 11:20 AM
prevent directories from being renamed chibi Linux - Newbie 7 04-29-2005 11:24 AM
FTP Users are able to Traverse directories up to the root of my server stingay Red Hat 6 10-25-2003 03:22 AM
browsing directories - apache 1.3.x Marble Linux - Networking 3 05-14-2003 06:01 PM
Havin trouble allowing FTP users to access files and directories bripage Linux - Networking 9 04-15-2002 03:54 PM > Forums > Linux Forums > Linux - Software

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