this is the command:
pc@linux-vhvu:~> sshfs -o nonempty -o sshfs_debug root@XXXXXXXXXXXXX: ./dg
SSHFS version 2.3
Password:
Server version: 3
Extension: [email protected] <1>
Extension: [email protected] <2>
Extension: [email protected] <2>
Extension: [email protected] <1>
Flow of events:
Formerly I tried the same thing with a different folder called "remote". It errored out, and said
fusermount: failed to access mountpoint /home/pc/remote: Permission denied
Then I tried with a new folder, because for some reason the permissions of ./remote changed to root...but the same thing happened to ./dg!
drwx------ 1 root root 4096 Oct 29 06:19 ./dg
user@host:/ /mnt/host/root fuse.sshfs noauto,users,reconnect,IdentityFile=/home/user/.ssh/id_rsa 0 0
in/etc/fstab
,user
canmount
, but onlyroot
can unmount (umount
) directory because ofumount: root: Permission denied
. But now i know, that's becausesshfs
changes the owner ofroot
toroot
.