I have an issue with sshfs whenever it is mounted from /etc/fstab. Here is what I did:
Code:
$ sshfs -o port=2226 home-server:/path /media/mountpoint
This works fine and I can read/write from the mountpoint with no issue. Now, if I add a line in /etc/fstab like this:
Code:
sshfs#pieroxy@home-server:/path /media/mountpoint fuse user,port=2226 0 0
Here is the result:
Code:
$ sudo mount /media/mountpoint
$ ls /media/mountpoint
ls: cannot access /media/mountpoint: Permission denied
$ ls -l /media/
ls: cannot access /media/mountpoint: Permission denied
total 76
d????????? ? ? ? ? ? mountpoint
(........)
Does anyone has an idea of what is wrong here?
Bookmarks