This Post Has Been Viewed 1200 Times Since Fri Feb 29, 2008 12:01 pm Posted By webmaster with 1 replies
POST# 752
Posted On: Fri Feb 29, 2008 12:01 pm
To Change file owner and group use:
Code:chown
example:
Code:chown username filename
Sat Jan 26, 2008 5:55 pm
1
chown
Reply #1646
about chown
command for system v that changes the owner of a file.
syntax
chown [-r] newowner filenames
-r change the permission on files that are in the subdirectories of the directory that you are currently in.
newowner the alias/username of the new owner of the file.
filenames the file that you are changing the rights to.
examples
chown chope file.txt - give permissions as owner to user chope.
related commands
chmod