[clue-tech] ext3 and immutable symlink?

David L. Anselmi anselmi at anselmi.us
Thu Apr 1 22:51:24 MDT 2010


Jim Ockers wrote:
> Hi CLUEbies,
>
> I want to replace a normal file in a directory with a symlink to
> somewhere else. I also want this change to be permanent and immutable;
> that is, I want nothing and nobody to be able to get rid of the symlink
> and rewrite it with a normal file.

I don't see any obvious explanation why this doesn't work.  Maybe look at the chattr source or the 
underlying system call.

Does mount --bind get you what you want?

Dave


More information about the clue-tech mailing list