Linux Shell Command - Chown Change File Owner Group
linux shell command - chown change file owner group
linux, shell, command, chown, change, file, owner, group
Linux Shell Command - Chown Change File Owner Group
Post Description: linux shell command - chown change file owner group
POST# 752
Posted On: Fri Feb 29, 2008 12:01 pm
webmaster
Topic: Linux Shell Command - Chown Change File Owner Group
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

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload