[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chattr feature available?
From: |
Mark Burgess |
Subject: |
Re: chattr feature available? |
Date: |
Mon, 1 Sep 2003 13:20:40 +0200 (MEST) |
On 1 Sep, Andrew Stribblehill wrote:
> Quoting Mark Burgess <Mark.Burgess@iu.hio.no> (2003-09-01 09:33:27 BST):
>> On 1 Sep, Andrew Stribblehill wrote:
>> > Quoting Hans Deragon <hans@deragon.biz> (2003-08-29 16:31:43 BST):
>> >> Greetings.
>> >>
>> >> Reading the documents and googling the web, I have found nothing
>> >> that suggest that chattr is supported within cfengine. Since
>> >> chattr is specific to the ext2 filesystem, I am not surprise. But
>> >> before I start hacking around with shellcommands: to call chattr,
>> >> I amd asking if there is support for chattr commands with the
>> >> copy: and files: commands. So is there some chattr feature hidden
>> >> within cfengine?
>> >
>> > I'm certain it's not there already but if you want to implement it,
>> > I suggest you look at the acl:: code. It seems to fit most neatly
>> > there.
>>
>> So what it chattr?
>
> Extended attributes specifically for ext2 and ext3. Examples:
> set/unset the immutable, append-only, transparent-compress flags.
>
> Whilst they're not ACLs they seem to me to fit there best.
>
OK - note that there is something like that for FreeBSD which
has some extra fileattributes. (Look in src/filedir.c)
M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~