LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   changing permissions command (https://www.linuxquestions.org/questions/linux-newbie-8/changing-permissions-command-500485/)

manolakis 11-10-2006 09:26 PM

changing permissions command
 
Hey there!!!
Does anyone know how to change permissions in Linux?
I had a problem and i decided to make a new user account and i erased the previous one. In the home dir i still got the previous user-folder but this time is locked.
I want to have access to it and use its content.

duryodhan 11-10-2006 09:51 PM

chown <new-user-name> <file name>

do as root.

slakmagik 11-10-2006 10:12 PM

probably need to make that chown -R(ecursive) - oh, and technically, we're changing ownership there. To specifically change perms, it'd be chmod, of course. (man ch{mod,own} for more details)


All times are GMT -5. The time now is 09:09 AM.