List Archive: gentoo-amd64
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
-----BEGIN PGP SIGNED MESSAGE-----
Mark Knecht wrote:
> Thanks Sami!
> On 4/3/06, Sami Samhuri <sami@...> wrote:
>>Mark Knecht wrote:
>>> There have been no changes or updates of any kind to the remote
>>>machine that has the NFS directory exported. Normal updates have been
>>>occurring on my AMD64 machine so presumably the problem is on this
>>>machine as none of the remote files are writable anymore. One thing I
>>>notice is that on the remote machine there are some directories and
>>>files which have user names and some which only have numbers like 501,
>>> Where would I start looking for what's changed?
>>The file system stores a user id for the owner and group. ls looks up the user
>>id in /etc/passwd and shows you the username instead. You can make ls show user
>>id's instead of names with `ls -ln`.
> OK, I basically knew this...
>>When you see numbers such as 501 in the directory listing that means the user or
>>group who had that user id is not found in /etc/passwd or /etc/group.
> OK, that means it's using the passwd file local to that specific
> machine then. Here's what I have:
> NFS Server: Only one user account:
> MythTV Backend Server: 3 user accounts:
> AMD64 machine: 2 user accounts:
Since your NFS server only has one user account, it might be easiest to
set all_squash,anonuid=1000,anongid=100 in your /etc/exports file. That
would make it so that all UIDs & GIDs on the NFS clients will be treated
as UID 1000 & GID 100 on the NFS server. Of course you would then want
to chown everything on the NFS server to 1000:100.
The other options are to maintain identical passwd & group files for all
of the machines, or to use a NIS/NIS+ server to serve the passwd & group
files from one machine to all the other machines, or to install
rpc.ugidd or similar UID/GID mapping servers, that can do more complex
UID/GID mapping than the UID/GID squashing NFS supports by itself.
Conway S. Smith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
email@example.com mailing list