[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rm files owned by root?



afaik, its because the owner of the folder the file is located is has w permission.

I could be wrong, but I was thinking about this myself a few days ago.

dekkker wrote:
Hi all,

I'm seriously troubled by behaviour of my system I just encountered:

If i do (as root):
touch /home/user/a
Then (as user);
rm /home/user/a

It asks if I want to remove this file, since it's write protected. If I say "y", then the file gets deleted. But it shouldn't be! Should it?
(Sorry if this is a dumb question.)

Hope you can help,

Raphael from Swizerland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: