[plug] NFS permissions / ownership issue
Bernard Blackham
bernard at blackham.com.au
Thu Feb 17 15:11:29 WST 2005
On Thu, Feb 17, 2005 at 02:40:55PM +0800, Denis Brown wrote:
> Server uses Debian and shares a directory /data. Files and directories
> within /data are owned by fred:fred for example. (Recall that by default
> Debian sets up a new user to have the uid and gid the same, in this case
> 1001)
[...]
> the "fred" account got gid 1002
[...]
> Question: what is the SIMPLEST way out of this conundrum?
On the NFS server, you could use a static uid/gid map:
/data (rw,map_static=/etc/nfs/some.map)
where some.map looks like:
gid 1003 1001
man exports for details.
Bernard.
--
Bernard Blackham <bernard at blackham dot com dot au>
More information about the plug
mailing list