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

ssh_tunnel

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

You might also like

Install a Symfony2 application using Composer
Before installing any Symfony2 project you have to meet the minimum requirements for it in your server....

Install Skype in Ubuntu
Since Ubuntu 10.04 you can add the repository for Skype running this command:sudo add-apt-repository...

Install osgART 2.0 RC3 with OpenSceneGraph 2.8.3 or 2.9.6 with Collada support in Ubuntu 12.04
Before installing osgART we need to install ARToolKit, collada-dom and OpenSceneGraph so look at those...

Install osgART 2.0 RC3 with OpenSceneGraph 2.8.3 or 2.9.6 with Collada support in Ubuntu 12.04
Before installing osgART we need to install ARToolKit, collada-dom and OpenSceneGraph so look at those...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.