mounting NFS directory with read write access

Reindl Harald h.reindl at thelounge.net
Wed Feb 27 21:07:02 UTC 2013



Am 27.02.2013 22:05, schrieb Reindl Harald:
> Am 27.02.2013 22:01, schrieb Ranjan Maitra:
>> I do have login access as an user, and the server does allow ssh in. I
>> just wanted to be able to mount the directory
> 
> yum install fuse-sshfs
> 
> /etc/fstab (ONE LINE! example, mount-point needs to be created before)
> sshfs#harry at testserver:/www-servers  /mnt/testserver  fuse  noauto,user,rw,noexec,nosuid,nodev,uid=harry,gid=users
> su -
> mkdir /mnt/testserver
> chown harry /mnt/testserver
> exit
> 
> "mount /mnt/testserver" as user NOT as root
> only you are able to see the moint-points content, even not root
> and if you are using ssh-keys they are also used here

uhm and DO NOT use symllinks in this context
they are failing or mislead you to your local folders
if the same exists which may be a big suprise after
careless changes!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130227/c92c0dda/attachment.sig>


More information about the users mailing list