On Mon, Feb 05, 2001 at 07:27:17PM -0800, Joey Hess wrote: >Argh, egg on face: linux lets the owner of a file modify it even if it >is mode 444 and in a directory they do not own. Yuck! Is this standard >unix semantics? It sucks.
Standard Unix semantics prevents non-root users from writing to files they own with u-w. They don't prevent the user from changing that mode of course. I believe that vim magically does this for you on :w! (it temporarily adds the 0200 bit). Regards, -- Brendan O'Dea bod@compusol.com.au Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633