Hi,

Ghins Mathai typed:
> -rw-r--r--   1 root     root       633514 Jun  3 18:55 space.usage
> When I try writing it, I am not allowed (as no 'w' for others)
> But when I try removing it I can. Why ???

I think it has something to do with the fact that it lies in your home
directory - which is owned by you. Thus, you can delete it. But you
can't change it's mode or write to it because it would be a major
security risk. Imagine if you could make the file executable and
setuid (its still owned by root) and then write to it. :-)

#include <stddisclaimer.h>
/* I'm not sure - this is what I understand about it! */

-- 
Mrinal Kalakrishnan <[EMAIL PROTECTED]> http://mrinal.dhs.org/
Linux 2.2.15 || PGP:B1E86F5B || Mutt 1.3.2i (2000-05-23) || VIM 5.5 
-- 
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to