LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-11-2009, 04:26 AM   #1
iinfi
LQ Newbie
 
Registered: Dec 2008
Posts: 26

Rep: Reputation: 15
Question change default directory for FTP server


hi
whn we install the necessary packages for ftp server we have to copy the necessary files to be hosted in /var/ftp/pub directory.
can we change this location to something else?
a NFS or GFS directory ??

similarly for an apache server the default directory is /var/www/virtual/
is it possible to change it?

thnaks
 
Old 01-11-2009, 04:35 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
which server are you using?

In proftpd you change the
DefaultRoot
 
Old 01-12-2009, 10:41 AM   #3
iinfi
LQ Newbie
 
Registered: Dec 2008
Posts: 26

Original Poster
Rep: Reputation: 15
i m using vsftpd in RHEL5
 
Old 01-12-2009, 11:57 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Did you even looked in the configuration file?

local_root=
anon_root=
 
Old 01-13-2009, 08:52 AM   #5
iinfi
LQ Newbie
 
Registered: Dec 2008
Posts: 26

Original Poster
Rep: Reputation: 15
yes i did see it much later .. thanks for your input
 
  


Reply


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 change default /var/ftp/pub in ftp(vsftpd) mohd anas Linux - Networking 3 07-08-2011 02:14 PM
change default vsftp anonymous accout directory /var/ftp to other directory? hocheetiong Linux - Newbie 2 01-24-2010 06:33 PM
Default Directory For FTP mohd anas Linux - Networking 1 11-08-2006 06:46 AM
proftp default directory how to change??? bgriesi Mandriva 3 12-29-2004 12:13 PM
change default save directory canyon289 Linux - Software 1 10-24-2004 12:16 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration