[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jaxlug-list
Subject:    Re: [JaxLUG] NFS and Group masking
From:       Steve Litt <slitt () troubleshooters ! com>
Date:       2004-02-28 5:12:20
Message-ID: 200402280012.20144.slitt () troubleshooters ! com
[Download RAW message or body]

On Friday 27 February 2004 11:10 pm, Christopher C. F. Park wrote:
> I have a box that is provides an NFS share called "music".  The actual
> directory on the box is /share/music the directory and all of its
> sub-directories and files belong to the group "ogg".  The first thing I
> would like to do is somehow force the group masking (and probably owner
> masking) so that when I rip a new CD and save it to the share the files are
> owned by group "ogg" instead of the main group of the user I'm logged in
> as.
>
> On my computer, my wife's computer, and the computer that is serving the
> share, the /etc/group files are synced so that there is a "ogg" group on
> each PC and they all have the same gid.  Now the other problem I'm having
> is that my wife's user id is a member of the "ogg" group, her uid and login
> are the same on my PC, her PC, and the NFS server, and the permissions on
> all of the directories and files on the share is 775, but she still can't
> write to the share.
>
> Anybody have any advice.
>
> Thanks
> CP
> _______________________________________________
> Jaxlug-list mailing list
> http://mailman.jaxlug.org/mailman/listinfo/jaxlug-list
> Send email to jaxlug-list-admin@jaxlug.org for any problems.

Hi Chris,

If I understand you correctly, you want to suid group all these 
subdirectories. In other words, assuming these directories are now 
permissioned 775, do this for each directory:

chmod 2775 mydirectory

Once you've done that, anyone in group ogg can write into those directories, 
and the files so produced would be group ogg.

You mentioned wanting to do this to the files' owner too. You could suid owner 
the directories to accomplish that, but it's seldom done, because you want 
some record of who initially created the files.

HTH

SteveT

Steve Litt
Founder and acting president: GoLUG
http://www.golug.org
_______________________________________________
Jaxlug-list mailing list
http://mailman.jaxlug.org/mailman/listinfo/jaxlug-list
Send email to jaxlug-list-admin@jaxlug.org for any problems.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic