FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 07-29-2007, 02:01 PM
Alex Janssen
Default 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.

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

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

Thread Tools

All times are GMT. The time now is 09:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org