LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-19-2002, 10:11 AM   #1
patiwat
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Rep: Reputation: 0
How to chnage default FTP directory for vsftpd ?


Hello all,

I have set up the ftp server on Suse 8.1 Pro. I use the default ftp server sofware, vsftpd. Everything is working fine. But I don't know how to change the root directory of ftp service. It is now on /srv/ftp. I want to change it to other directory. I was wondering if anyone can help me. Thank you.
 
Old 08-01-2003, 08:25 AM   #2
predrag
Member
 
Registered: Aug 2003
Location: Salzburg, Austria
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 34

Rep: Reputation: 15
Type the following in /etc/vsftpd.conf file:

anon_root=/some/directory/of/your/choice/

e.g.

anon_root=/var/frp/pub/

and set up propper permissions for that directory and its subdiretories.

Eccolo.
 
  


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
create ftp user for vsftpd server without home directory cccc Linux - Networking 2 07-30-2005 06:32 AM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM
Changing default current directory to / when ftp ckit Linux - Newbie 1 01-27-2004 07:34 PM
VSFTPD 1 main directory chrisknight Linux - Software 0 11-02-2003 10:41 AM
Changing default directory / vsftpd chrisknight Linux - Software 5 03-27-2003 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 AM.

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