> I feel the need to learn something new today. How could the 
> user replace
> the root owned files in a directory that they own?
> 

Suppose the root-owned file (readable for non-root user) is a. Then one does
'cp a b; rm a; mv b a' and we have the same file a owned by the regular
user. Key observation here is that the non-root user ownes the directory,
hence can remove files.

HTH
Dan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to