市民在这里给小费了几句,很少说话的人问我如何,我们可以递归改变目录中的一个正确和整个内容的权限 -最重要的-无痛。 因为我们希望将权限分配给文件和目录644 755 - 一如既往应该怎么做 - 只是移动到该目录,并运行以下命令:

find . -type f -print0 | xargs -0 chmod 644

find . -type d -print0 | xargs -0 chmod 755

别人不需要...

分享这个内容:
  • del.icio.us
  • Google Bookmarks
  • Digg
  • Facebook
  • Technorati
  • MySpace
  • Twitter