Changing Ownership of file and folders in Linux

Filed in Linux 0 comments

to change ownership of a file or folder use “chmod” command
Example:

chmod user:user folder

if you want to make it recursive jsut and -R to it

chmod -R user:user folder

this is also correcto for the filesExample:

chmod user:user filename.html

you may ask your self why the owership has to valu seprated by colon
the first is the ownername and the second is the groupname
owner:groupname

Related posts:

  1. how to change permissions of files and folders in linux
Posted by voshka   @   23 February 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone