You are not logged in.
Hi, I'm trying to automount remote drive via sshfs with ordinary user permissions by an entry in /etc/fstab. I try to follow the instructions in SSHFS#Secure_user_accessurland have this:
centos@omzeniumsdk:/home/centos /home/oto/centos fuse.sshfs noauto,x-systemd.automount,_netdev,user,idmap=user,identityfile=/home/oto/.ssh/id_rsa,default_permissions,allow_other,uid=1000,gid=1000 0 0But the directory is still mounted with root ownership on system startup. Am I missing something?
If I unmount the drive and then run
mount ~/centoswith normal user, everything is fine.
Last edited by ottoshmidt (2019-07-25 09:51:26)
Offline