This is a good explanation, thanks! After your comment I checked man chmod, I guess the explanation below is what you are referring to:

STICKY DIRECTORIES
When  the sticky bit is set on a directory, files in that directory may
be unlinked or renamed only by root or their owner.  Without the sticky
bit,  anyone able to write to the directory can delete or rename files.
The sticky bit is commonly found on directories, such as /tmp, that are
world-writable.

How many things still to learn...

raffaele

[EMAIL PROTECTED] wrote:
On Friday 07 March 2003 04:03 am, you wrote:

I am running MDK9.0 with msec 3, vanilla kernel. I just noticed that, as
a normal user, I am able to delete root-owned files (with -rw-r--r--
rights). I don't know when it started, I am almost sure it was not this
way last time I tried.

Does anybody have a similar issue?


The permission to delete a file depends on the permissions on the directory the file lives in, not on the permissions on the file itself. Just as you can link a file that you don't have read permissions to into a directory you have write permissions in you can also unlink it from that directory.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to