2014-02-20 51 views
1

我有一个“系统”目录。该目录有大约1200000个子目录。我如何为“系统”及其所有子目录设置chmod 777。我尝试这样做:CHMOD所有子目录

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

但大约一小时后,它失败并从服务器注销我。

现在我尝试的FileZilla在Mac OS中做到这一点,但更多的则24小时现在改变chmod和我没有看到结束:)

+0

http://askubuntu.com/ – Bitmap

+0

可能相关:http://superuser.com/questions/47463/how-to-change-permissions-on-all-files-in-a-directory-and-when-新文件是广告 –

回答

2

与-R尝试(递归)

sudo chmod 777 /public/system -R 
+0

谢谢,它的工作:) – Wordica

相关问题