Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   files in directory inherit group permissions as well as ID (http://www.linux-archive.org/ubuntu-user/58507-files-directory-inherit-group-permissions-well-id.html)

Alex Janssen 07-29-2007 02:01 PM

files in directory inherit group permissions as well as ID
 
GyroTech said the following on 07/29/2007 05:45 AM:
> Hello all,
> Is there a way for files in a directory to not only inherit the group ID
> (chmod g+s) but the group permissions too?? umask only seems to hold
> true on a per-user, per-session basis and affects all files created by
> that user. Is there a way for just these files in one directory to
> inherit the group id and group permissions of the directory regardless
> of user writing to it??
>
> Thanks,
>
> GT
>
>
You could make a global umask setting in /etc/profile and then make sure
all users are in the group that has access to the subject directory. I
don't know of a way to make it directory centric.
HTH,
Alex

--
Ourwoods.org
Anyone can win, unless there happens to be a second entry. (36)


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 07:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.