Wrong security attributes. Maybe a bug?

Steve Grubb sgrubb at redhat.com
Mon Jan 19 21:06:26 UTC 2009


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




More information about the fedora-devel-list mailing list