27 Aug
2003
27 Aug
'03
16:44
On Wed, 27 Aug 2003 12:28:57 -0400
Mark Hounschell
I have a file -rw-r--r-- 1 root root 149811 2003-08-07 17:49 xx
As a regular user I edit the file. Make some changes and write it back. Now the file is -rw-r--r-- 1 markh users 149811 2003-08-27 12:23 xx
Am I missing something? Why was I able to write the file? Why was its owner and project changed from root to the users? Do the directory permissions override the file permissions? I must be missing something????
A user can COPY and edit and save a file owned by root, but the result is a file owned by the user. You didn't change root's file. You made a copy owned by you. -- I'm not really a human, but I play one on earth.