0

I'm mounting a directory from a remote host to a directory in my home dir ~/raspi/ using sshfs. I copied root's public key into the remote host's ~/.ssh/authorized_keys file to be able to mount from /etc/fstab which seems to work fine. Only, since the mount point is in my home dir at ~/raspi/, I would like to be able to access it with my user too. Currently the mount point dir looks like this (ls -l ~) d????????? ? ? ? ? ? raspi after sudo mount -a and the mount line in my /etc/fstab looks like:

pi@raspi:/mnt/usb/                              /home/ron/raspi fuse.sshfs      defaults,_netdev,       0 0

how can I modify it accordingly so that I get regular user permissions on the mount point?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.