To view the owner of a file, use the "-l" option with "ls". For example:
[tt]
$ ls -l dead.letter
-rw-r--r-- 1 andyb other 2764 Aug 25 16:55 dead.letter
[/tt]
The file is owned by "andyb" and belongs to the group "other". Only two people can change the ownership of the file - "andyb" and "root". This can change, depending upon the permissions on the directory the file is in, so you may need to experiment.
To change the owner of the file use "chown new_owner filename(s)". For example:
[tt]
# Change ownership of a single file.
chown franks dead.letter
# Change ownership of many files.
chown franks /home/franks/projects/*
[/tt]
Hope this helps. [sig]<p> Andy Bold<br><a href=mailto: > </a><br><a href= > </a><br>"I've probably made most of the mistakes already, so hopefully you won't have to..." Me, most days.[/sig]