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