LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   chown & chmod is mess up (https://www.linuxquestions.org/questions/linux-general-1/chown-and-chmod-is-mess-up-128432/)

ziggie216 12-23-2003 01:48 PM

chown & chmod is mess up
 
when I untar something, the user and group name is wrong. also the chmod is dwxr-s-r-x for a folder. any way I can fix this?

i'm seeing couple of passwd files that I did not create
passwd- passwd.lock passwd,v

david_ross 12-23-2003 03:43 PM

Try:
chown -R user:group /path/to/dir
find -type d -exec chown a+rx,o+w,g+s {} \;


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