> From: "Harnish, Joe" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: Useradmin - maybe OT
>
> Hello everyone.
>
> I am very sorry if this is off topic.
>
> Is there a way to set up directories where a user saves a file it will get a
> specific group id?
>
>
> Like a user is in groups: groupA, groupB, groupC
>
> When this user saves a file to /usr/local/directoryA the file will have
> group ownership of groupA.
> When this user saves another file in /home/directoryB the file will have
> ownership of groupB, etc.
>
> Thanks
>
> Joe
If you want this effect in a whole file system, you can mount the file
system with BSD directory semantics. Check grpid/bsdgroups vs.
nogrpid/sysvgroups.
If you just want to set certain directories to have this behavior,
make the directory owned by the desired group and do a
"chmod g+rs dirname"
pete peterson
GenRad, Inc.
7 Technology Park Drive
Westford, MA 01886-0033
[EMAIL PROTECTED] or [EMAIL PROTECTED]
+1-978-589-7478 (GenRad); +1-978-256-5829 (Home: Chelmsford, MA)
+1-978-589-2088 (Closest FAX); +1-978-589-7007 (Main GenRad FAX)
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list