Re: NFS permissions question
On Tue, Nov 16, 2004 at 02:01:02PM -0500, Christian Convey wrote:
> My understanding of NFS permissions is that for any file appearing on an
> NFS share, the username/uid and groupname/gid mappings should (ideally)
> be identical on both the NFS client and the NFS server.
>
> So consider my home situation: I'm running two computers, each with
> local security files.
>
> I have four users: "alvin", "benny", "charles", and "david".
> I have several groups: "users" and "chefs" and "busboys".
>
> I want to define an NFS share that "alvin" and "benny" can use. My
> *expectation* at the time I'm setting this up is that any files
> appearing on those shares will have a group-owner of "chefs".
>
> So I go through, and ensure that "alvin" and "benny" each have the same
> uid on both computers. I go through and ensure that "chefs" has the same
> gid on both computers.
>
> Is there a good way for me to ensure that alvin doesn't create, on the
> shares, a file owned by the busboys group?
>
> (The reason I don't want this to happen is that I've taken no steps to
> ensure that both computers have the same groupid for the "busboys"
> group. I don't want the resulting permissions confusion to ensue.)
>
You may want to look at this recent thread on debian-user, in particular
this reference:
http://lists.debian.org/debian-user/2004/10/msg03439.html
Note: I'm no NFS expert, so maybe this is not what you're looking for.
HTH
--
Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.
Reply to: