[mythtv-users] NFS mount problems

Joey Morris rjmorris at nc.rr.com
Wed Jan 2 01:36:18 UTC 2013


Kevon <mythtv at reidsresidence.com> wrote on Tue, Jan 01, 2013 at 08:10:52PM -0500:
> On 01/01/2013 06:03 PM, Joey Morris wrote:
> 
> > I may be remembering this incorrectly, but I think you can edit some
> > NFS config files to tell it to translate the UIDs and GIDs for you.
> > That way you can have different UIDs assigned to users on the two
> > systems. I'd look into those options before changing your UIDs.
> 
> These NFS option are called anonuid and anongid. These options only
> address anonymous access (ie, access from IDs for which there is no
> associated uid/gid on the remote system). Since the OP seem to have uid
> and gid mapped to different user and group, the mounted file system will
> still show incorrect user and group owner. Write access to the share can
> be granted for all uid by using the all_squash option which will make
> all access anonymous. However, the owner/group will still be mismatched.

I looked up what I was thinking of. It depends on which implementation
of NFS you're running. For NFSv3, look up map_static (for example:
http://www.kernelcrash.com/blog/nfs-uidgid-mapping/2007/09/10). For
NFSv4, look up idmapd.


More information about the mythtv-users mailing list