file and folder owner ship
been looking on here did not find anything spesfic to what i wanted... I am wondering can anyhow help me out.
In the terminal as root i copied a file from the root directory with root only ownership to the normal user area so i can have access to this file but the problem is that its still locked to been ownership of root how can i change it to have its ownership of normal user and the same thing with folders as well. anyone care to help pls? |
chown is the command your looking for.
You need to be the owner of the file ( or root ) to change ownership. Also don't forget the group ( which is usually the same as the owner ). chown userName:userGroup fileName Don't forget man pages for more info. |
hey chears for that worked like a charm!!!
|
All times are GMT -5. The time now is 10:05 PM. |