sshfs automount works in home directory, but not in root directory
In my /etc/fstab, I've got this entry:
sshfs#mythbuntu@192.168.0.4:/home/mythbuntu /Mythbuntu fuse noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
Unfortunately, it doesn't work. I don't get any error output anywhere that I can see, the network drive simply doesn't connect.
I've set the owner of /Mythbuntu to be dave:dave, and the permissions to 755. Not sure if that's how it should be, but that's what I've tried for now.
If I set the target directory to be in my home directory, it works fine. So, this entry in /etc/fstab works fine:
sshfs#mythbuntu@192.168.0.4:/home/mythbuntu /home/dave/Mythbuntu fuse noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
For various reasons, I'd really like to be able to create the mount point at /Mythbuntu and not /home/dave/Mythbuntu.
Where am I going wrong, and how do I get the mount to work?
In my /etc/fstab, I've got this entry:
sshfs#mythbuntu@192.168.0.4:/home/mythbuntu /Mythbuntu fuse noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
Unfortunately, it doesn't work. I don't get any error output anywhere that I can see, the network drive simply doesn't connect.
I've set the owner of /Mythbuntu to be dave:dave, and the permissions to 755. Not sure if that's how it should be, but that's what I've tried for now.
If I set the target directory to be in my home directory, it works fine. So, this entry in /etc/fstab works fine:
sshfs#mythbuntu@192.168.0.4:/home/mythbuntu /home/dave/Mythbuntu fuse noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
For various reasons, I'd really like to be able to create the mount point at /Mythbuntu and not /home/dave/Mythbuntu.
Where am I going wrong, and how do I get the mount to work?
No comments:
Post a Comment