Re: deny deleting a file for users
From: Devdas Bhagat (devdas_at_dvb.homelinux.org)
Date: Sun, 1 Jun 2003 19:59:36 +0530 To: email@example.com
On 30/05/03 15:14 +0200, Sandra Hernandez wrote:
> I would like to know if there exist any way to deny deleting a file for a user, but
> allow this user accessing, removing parts of this file or append text?
> We have problems in our systems because some users delete theirs own nsmail file
> without notice what they are doing.
If you use ext2, or ext3, chattr(1) will help you.
chattr -u file