Re: Push permissions to child files automagically.

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 11/10/05


Date: Thu, 10 Nov 2005 00:09:43 +0100

In alt.os.linux John B <jbngspam@yahoo.com>:
> 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
>> mechanism.
>>
>> Sybren
> 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 zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 193: Did you pay the new Support Fee?


Relevant Pages

  • Re: Push permissions to child files automagically.
    ... > Sybren Stuvel wrote: ... >> the permissions set on the directory itself. ... > Therefore, when I paste them into the shared folder, I want them to ... This is what I mentioned in my first reply, setting SGID on the ...
    (alt.os.linux)
  • Re: Push permissions to child files automagically.
    ... Sybren Stuvel wrote: ... >>Check out Linux ACL if you need more control. ... and you can also set default permissions for newly ...
    (alt.os.linux)
  • Re: Securing a Project File
    ... document and elaborate on the plan, ... You retain all read/write permissions, ... then saves it back to the original file ...
    (microsoft.public.project)
  • Re: 70-290, properly answering access permission questions
    ... > Once again, folks, I am very aware of what permissions are and what ... > nothing overrides a deny. ... He was absolutely right - an explicit ... Allow DOES override an inheritted Deny. ...
    (microsoft.public.cert.exam.mcse)
  • Re: 70-290, properly answering access permission questions
    ... >> Once again, folks, I am very aware of what permissions are and what ... >> nothing overrides a deny. ... He was absolutely right - an explicit ... > Allow DOES override an inheritted Deny. ...
    (microsoft.public.cert.exam.mcse)