|
| |||||||||
| Tags: directory, file trasnfer protocol, linux, operating system, vsftp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Change the default directory vsftp / home / ftp
Hello Please I want to know how to change the default directory of FTP server: / home / ftp, I want to make this the default apache2: / var / www. otherwise how to link the two directories. Thank you in advance. |
|
#2
| ||||
| ||||
| Re: Change the default directory vsftp / home / ftp
Hello, The symbolic link is a solution but it should be easier. Do you know the following Code: / etc / vsftpd.conf? |
|
#3
| |||
| |||
| Re: Change the default directory vsftp / home / ftp
Hi Hello and thank you for answers. The solution to the symbolic link works fine: ln-s / var / www / / home / ftp /. For the configuration file of vsftpd yes I saw in / etc / vsftpd.conf, but I did not find the default directory. If there is another solution I'd like to know how. Again, thank you. |
|
#4
| ||||
| ||||
| Re: Change the default directory vsftp / home / ftp
Hi A symbolic link is the cleanest solution I found. vsftpd uses / home / ftp because it is the directory where it is ch rooted, being launched under Human ftp user. Otherwise, change the home directory of the ftp user. It happens in / etc / passwd that. Try this and see if this works with you. If not then do post back the query you have. |
|
#5
| |||
| |||
| Re: Change the default directory vsftp / home / ftp
Hi Code: The solution to the symbolic link works fine: ln-s / var / www / / home / ftp /. For the configuration file of vsftpd yes I saw in / etc / vsftpd.conf |
|
#6
| ||||
| ||||
| Re: Change the default directory vsftp / home / ftp
Hi I really recommend the symbolic (or hard), because it has another advantage: you can easily add resources from other files. Example, you want to add a record of his personal home, we need only add a link in / home / ftp pointing to this folder. Otherwise, the same kind of solution can be used Code: mount-o bind / folder / home / ftp |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Change the default directory vsftp / home / ftp" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change the default installation directory in the windows 7 | PuppETR | Operating Systems | 3 | 22-12-2010 12:13 PM |
| How do I change default Home path in Windows Vista | Actionguy | Operating Systems | 3 | 19-02-2009 06:01 PM |
| change IE7 default home page and Language | MaST MaX | Vista Setup and Install | 0 | 11-12-2008 03:03 PM |
| How to change Windows Explorer's default directory? | baobob@my-deja.com | Window 2000 Help | 6 | 07-03-2008 02:36 AM |
| move existing videos and change default directory in Media Center 2005 | Jesse Tutterrow | MediaCenter | 4 | 10-05-2007 12:45 AM |