[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Wrong security attributes. Maybe a bug?



On Monday 19 January 2009 02:13:27 pm Joshua C. wrote:
> How can i make a file "readonly" regardless of its place and other
> attributes?

chattr -i  ./foo

You must have CAP_LINUX_IMMUTABLE to do this which normal users do not. And 
you must be on a filesystem, like ext3, which supports immutable files.

-Steve


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]