1

I've connected to my ftp server from my local linux terminal.

As far as I understand I've been using the ! to navigate through local files (i.e !ls vs ls)

I can't seem to cd .. to my home folder, I'm trying to access /home/web but the farthest i can go is to /home/my_user

Can someone explain why and what I'd need to do to change this?

Thanks!

d-_-b
  • 119
  • 7

1 Answers1

5

This is normal behaviour. Most of the FTP Server lock the user to their respective home directory to prevent access to other filesystem files. This is called "chroot", because you change the root directory of the this process.

In vsftp for example you can disable it by editing the configuration file /etc/vsftpd/vsftpd.conf and change this value to no:

chroot_local_user=no

liecno
  • 143
  • 6