Linux Shell Command - chown Change File Owner Group

RegisterLogin
Linux Shell Command - chown Change File Owner Group
Post Description: Linux Shell Command - chown Change File Owner Group
Tags: Linux, Shell, Command, -, chown, Change, File, Owner, Group
This Post Was Posted On Feb 29, 2008 By webmaster #1918
To Change file owner and group use:


     Code:
chown


example:

     Code:
chown username filename
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
chown
#2138 1
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
Jan 26, 2008 Reply Report abuse
©2012 Webune Forums - Sat Dec 15, 2012 5:05 pm
Powered by: Webune Forums V3