LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-10-2004, 12:20 PM   #1
t3___
Member
 
Registered: Sep 2003
Posts: 240

Rep: Reputation: 30
VSFTPD - users can browse up to root


I am running VSFTPD 1.2.1 on a suse 9.1 box to allow our users to upload and download files outside the office. Inside the office, users access the ftp directory via samba and a mapped drive letter.

Rencently some of our users started using the Firefox browser. Once logged in, the browser lists the contents of the directory, and also displays a hyperlink "UP TO HIGHER LEVEL DIRECTORY"... so I click on it and I am able to browse and view files all the way up to the root level!!! I am also able to cd up to root from command line ftp. This seems to affect all users on the server.

What can I do to correct this? Is this a misconfiguration in VSFTPD, or simply directory permissions that need to be changed?

Any information would be greatly appreciated.

Tom
tbaumann@planningcenter.com


PS: here is my vsftpd.conf file
~~~~~~~~~~~~~~~~~~~~

write_enable=YES

dirmessage_enable=YES

local_enable=YES

xferlog_enable=YES

connect_from_port_20=YES

pam_service_name=vsftpd

anonymous_enable=NO

local_umask=000
 
Old 12-10-2004, 01:24 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Looks like you need to add "local_root" directive to your conf file. Give this directive the name of the top-level directory you want your users to be able to access.
 
  


Reply



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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
403 when trying to browse users' home pages with apache and mandriva 10.1 Niklas5000 Mandriva 3 03-14-2006 12:40 PM
home users with vsftpd swobodin Linux - Software 1 02-15-2004 08:35 AM
Cannot Browse Website as Non Root bongski55 Slackware 5 08-20-2003 06:17 AM
vsftpd - setting up users Korff Linux - Networking 7 05-31-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration