I'm trying to have full access to my CentOS8 VPS (ie accessing root directory /
) through a mounted cURLFTPFS directory on my local Archlinux system. However no config seems to allow me to mount anything other than the user's home directory (/home/admin
).
I've tried all combinations of:
- Setting the line
DefaultRoot / admin
in/etc/proftpd.conf
- Setting the line
DefaultChdir /
in/etc/proftpd.conf
- Mounting with
curlftpfs vps.example.com mountpoint
- Mounting with
curlftpfs vps.example.com/ mountpoint
- Mounting with
curlftpfs vps.example.com// mountpoint
- Mounting with
curlftpfs vps.example.com:/ mountpoint
- Mounting with
curlftpfs vps.example.com:// mountpoint
Preemptive responses:
- I'm using ProFTPD
- The user I'm connecting with is
admin
- Login details are set in
.netrc
- I'm not using a VirtualHost in the proftpd config file.
- I am not forgetting to
systemctl reload proftpd
Any advice would be highly welcomed.