[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Keeping a file from being deleted
- Subject: Re: [cobalt-users] Keeping a file from being deleted
- From: "Ben Liddicott" <ben.liddicott@xxxxxxxxxxxxxxxxxx>
- Date: Fri Feb 1 11:59:05 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Chowning the file to root will not prevent it from being deleted, you need to chown/chmod the directory for that.
Alternatively use chattr:
chattr +i filename
i means immutable. The attribute prevents the file from being modified, and forbids the addition or removal of hard links to the
file.
Cheers,
Ben Liddicott
----- Original Message -----
From: "AY@Home" <ayoung78@xxxxxxxx>
> If you mean chown root/chgrp root and then chmod 444 the file in question I
> tried that last night and again just now no luck.