[ILUG] chattr on directories

Niall O Broin niall at makalumedia.com
Mon Jun 4 19:03:47 IST 2007


On 4 Jun 2007, at 16:35, Kevin Lyda wrote:

> On 6/2/07, Niall O Broin <niall at makalumedia.com> wrote:
>> I though chattr +i would be my friend but it is not and I suspect
>> this is because I'd need to chattr the containing directory, or even
>> the root.
>
> Make file based fs. Mount and copy files to it. Unmount it. chattr +i
> it. Mount it on the dir you want. You could also make it an iso9660 fs
> just for good measure.

A cunning plan. However, the owner will still need to write to it.


Niall






More information about the ILUG mailing list