Re: [Hampshire] NFS group permissions

Top Page
Author: Hugo Mills
Date:  
To: adam.trickett, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] NFS group permissions

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5782a100.hantslug.org.uk.20775': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Sat Jan 6 13:34:21 2007 GMT
gpg: using DSA key B2C27BC21C335860
gpg: Can't check signature: No public key
On Sat, Jan 06, 2007 at 12:14:22PM +0000, Adam Trickett wrote:
> I have three boxes, two Etch clients and one Sarge Server. All are
> running the stock NFS userspace server. The users have the same uid
> and gid on all three boxes.
>
> I'm having problems where users can only edit files if they own
> them, even though the files are rw for the group that the user is a
> member of. If the user edits the file directly on the server,
> everything is okay, when they try to edit the file via NFS they get
> a permission denied problem on the console.
>
> They can happily edit a file via NFS if they own it. I'm sure this
> use to work perfectly, but I'm not 100% sure.
>
> What and where should I be looking to try and fix this?


It sounds like the group memberships are different on the different
machines. For each user, check that "id <uid>" produces the same
output on both the server and the client machine. If they're
different, make them the same. :)

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- If you're not part of the solution, you're part ---         
                           of the precipiate.