mounting NFS directory with read write access

Patrick O'Callaghan pocallaghan at gmail.com
Wed Feb 27 20:24:54 UTC 2013


On Wed, 2013-02-27 at 12:40 -0500, Bill Davidsen wrote:
> Ranjan Maitra wrote:
> > Hello,
> >
> > I have tried mounting the following remote directory:
> >
> > sudo mount machine.name:/home/directory -w /mnt/directory
> >
> > I can mount fine, but I can not write as a mortal user in this
> > directory.
> >
> > What should I be doing here?
> >
> My guess is that the UID is not the same on the two machines.
> 
> If you have root:
>   configure /etc/idmapd.conf
>   start the idmapd service
> 
> As a user:
>    man sshfs

AFAIK sshfs is not installed by default, so "yum install fuse-sshfs"
would be a prerequisite.

Also, the NFS server need not necessarily support ssh, and even if it
does the user would need to have a login account. Some dedicated NFS
servers have restricted access in that sense.

poc



More information about the users mailing list