문제

I have directory like "system". This directory has about 1200000 subdirectories. How can I set chmod 777 for "system" and all of it subdirectories. I try do this like that:

find /public/system -type d -exec chmod 777 {} +

but after about one hour it fail and logout me from server.

Right now I try do this with FileZilla in Mac OS but it change chmod for more then 24 hours right now and I do not see end :)

도움이 되었습니까?

해결책

try with -R (for recursive)

sudo chmod 777 /public/system -R
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top