On Tue, Apr 30, 2002 at 05:40:13PM +1000, Kennedy, Adam wrote:
> Box is Debian Potato.
> 
> Note the cvs.tar.gz file ( in case it isn't obvious ).
> 
> If I'm not mistaken, I've just "taken ownership" of the file from root.
> 
> Am I correct?

There's no arguing with the output of ls -l.

It looks like /var/cvs is owned by cvs:cvs (user cvs, group cvs).  It
also looks like your user is in the cvs group.

Note also that you have read permission for the file, so you can
certainly copy it to anywhere you like -- and of course, any copy will
be owned by the user that creates the copy.

Finally, because you have permission to modify the directory, you are
able to delete the original cvs.tar.gz in that directory, regardless of
who owns the file.

Hence, you are able to move cvs.tar.gz, taking ownership of the moved
copy.

-Andrew.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to