Menu

#42 cannot mount over restricted directory

open
nobody
None
5
2005-10-10
2005-10-10
JP
No

For security reasons I like to have all my mount points
owned by root:root and with permission bits 000.
Whereas the regular mount command I use for NFS or
Reiser mount doesn't complain, shfsmount refuses to
mount the remote directory over it.

===[ /etc/fstab ]==========
myuser@my.server:/my/remote/dir /home/myuser/mylocaldir
shfs rw,user,noauto 0 1

===[ screen output ]==========
$ mount mylocaldir/
shfsmount: /my/remote/dir: Operation not permitted

Discussion


Log in to post a comment.