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

Re: rm files owned by root?

In article <[🔎] 20041229202208.01455e7c@localhost.localdomain> you wrote:
> 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?

This is a Unix FAQ. You can delete any file if you have write access to the
directory. Actually you dont delete the file, you remove the "link" to the
file from the dir. Only if it is the last link to the directory structure,
the file will be removed and the area freed.


Reply to: