Re: [newbie]: Inheriting group permissions?
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Wed, 22 Sep 2010 01:54:20 -0400
In article <87pqw64ckk.fsf@xxxxxxxxxxxxxxx>,
Ben Finney <ben+unix@xxxxxxxxxxxxxxx> wrote:
Ben Finney <ben+unix@xxxxxxxxxxxxxxx> writes:
"John Larson" <wocket@xxxxxxxxxxx> writes:[â?¦]
Is there a way to automatically inherit also the permissions
automatically for a certain directory?
Not really, but almost.[â?¦]
See the â??chmod(1)â?? and â??umask(1)â?? man pages for more.
Barry Margolin <barmar@xxxxxxxxxxxx> writes:
If your filesystem supports ACLs, I think you may be able to
accomplish this with them.
Right. My answer above assumes only POSIX permission semantics. ACLs can
do more, and might be worth the OP's investigation.
Right. The problem with umask is that it is not specific to a particular
directory. So if you set your umask to allow group write, it will affect
all files you create, not just the ones in the shared directory.
Inherited ACLs can be set on specific directories.
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- References:
- [newbie]: Inheriting group permissions?
- From: John Larson
- Re: [newbie]: Inheriting group permissions?
- From: Ben Finney
- Re: [newbie]: Inheriting group permissions?
- From: Ben Finney
- [newbie]: Inheriting group permissions?
- Prev by Date: Re: [newbie]: Inheriting group permissions?
- Next by Date: rsync through an ssh tunnel
- Previous by thread: Re: [newbie]: Inheriting group permissions?
- Next by thread: Re: [newbie]: Inheriting group permissions?
- Index(es):
Relevant Pages
|