Re: Push permissions to child files automagically.
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: Thu, 10 Nov 2005 00:09:43 +0100
In alt.os.linux John B <firstname.lastname@example.org>:
> Sybren Stuvel wrote:
>> Michael Heiming enlightened us with:
>>>Check out Linux ACL (ww.tldp.org) if you need more control.
>> I think this is what OP wants.
>> To OP: using Access Control Lists, you can define the permissions with
>> more detail, and you can also set default permissions for newly
>> created files & directories.
>> Of course, if the program you "paste" from explicitly sets the
>> permissions to those of the original file, it might override the ACL
> Thanks both for your input.
> I will have a look at ACL's but dont think they will quite suit as I
> need to override any existing permissions on the files that are put into
> this directory, regardless of what they are which will require root privs.
> The way I need it to work is the same as the option to replace
> permissions on all child objects with my permissions as applicable in
> windoze in the security >> advanced dialog, but automatically, not
> manually as I can already do that easier with chmod -r.
Curious, what's wrong with default permissions, set via umask?
Perhaps you could elaborate what you are doing and someone has an
idea what to do?
-- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo email@example.com | perl -pe 'y/a-z/n-za-m/' #bofh excuse 193: Did you pay the new Support Fee?