How Do I Change the Default Ftp Folder in Linux?

How Do I Change the Default Ftp Folder in Linux?
Contents

How do I change the default FTP path in Linux?

How to configure FTP access to specific folder on Linux server

  1. Create a user. Be careful here because you are creating credentials for your FTP account. …
  2. Install vsftp (Very Secure FTP) apt install -y vsftpd. …
  3. Check if 21 port is open. telnet <server_ip> 21. …
  4. Configure vsftp. …
  5. Restart vsftpd (vsftp daemon) …
  6. Set correct folders permissions. …
  7. Done.

29 дек. 2019 г.

What is the default FTP directory in Linux?

When you login as a user, vsftp will default to putting you in that user’s home directory. If you want to ftp to linux-server and have it drop you into /var/www , the easiest way would be to create an FTP user who’s home directory is set to /var/www .

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.