LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to use the chown command (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-the-chown-command-781702/)

cbjhawks 01-12-2010 08:53 AM

How to use the chown command
 
my home/container has me as the owner but the contents all belong to root...I've tried >chown cbjhawks /home/cbjhawks but that didnt change anything. Should it be >chown -R cbjhawks /home/cbjhawks? Or what is the proper command for doing this...thanks

amani 01-12-2010 09:02 AM

#su
#chown -v --recursive username /home/username/*
#chown -v --recursive username /home/username/*.*

#man chown

cbjhawks 01-12-2010 10:10 AM

amani....thanks....
 
thanks you so much...they worked perfectly...will remember/retain them


All times are GMT -5. The time now is 10:20 PM.