LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   stubborn chown (https://www.linuxquestions.org/questions/linux-newbie-8/stubborn-chown-177032/)

jeroend 05-02-2004 02:46 PM

stubborn chown
 
Hi,
Im experimenting with cvs and therefor I'm changing owners and groups of a directory /usr/cvsroot.
as root I do:
chown jeroen:cvs /usr/cvsroot and that seems to work really well. However doing a ls -al a little later the owner/group is changed back to root/root. is there anyway to make this change permanent?
tia.
Jeroen.

rkef 05-02-2004 02:52 PM

Are you saying the actual directory resets its ownership (ls -ld /usr/cvsroot) or that the files/directories underneath it do so (ls -la /usr/cvsroot)? Do you want the directory and all the files to be jeroen:cvs ? Try chown -R jeroen:cvs /usr/cvsroot (recursive, everything gets new ownership). I hope that helps :(.


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