Re: IMMUTABLE and APPEND-ONLY rationales

From: Simon Richter (Simon.Richter@phobos.fachschaften.tu-muenchen.de)
Date: Sun Jun 25 2000 - 07:45:08 EST


On Sun, 25 Jun 2000, David Ford wrote:

> > Immutable means NOBODY can do anything bad with it, not even root. The
> > last thing I want is users setting immutable flags on my system.

> As root you are free to remove flags with chattr regardless of who set them.

Not without shutting down the machine.

> Permissions don't stop root from deleting a file in one step slip-ups.

rm -r asks. rm -rf doesn't. Just as it should be.

> Permissions don't stop dhcpcd from screwing with your /etc/resolv.conf
> (client that doesn't support the option for NOT messing with it) or similar
> situations.

I don't think file flags are the proper way to deal with broken software.

   Simon

-- 
PGP public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 10 62 F6 F5 C0 5D 9E D8  47 05 1B 8A 22 E5 4E C1
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST