Mount a folder via sshfs in Ubuntu with permissions to other users
After installing sshfs
in Ubuntu:
sudo apt-get install sshfs
You can mount a folder located in a remote machine via SSH with a command like this:
sudo sshfs user@remote_server:/remote_folder /local_folder
The problem here is that only the root
user is going to be able to enter in /local_folder
. This is fixed with the allow_other
option:
sudo sshfs -o allow_other user@remote_server:/remote_folder /local_folder