linux下递归改变所有子目录的属性

chmod 644 -R *
chmod 755 `find -type d`
find /path -type f -exec chmod 644 {} \;
find /path -type d -exec chmod 755 {} \;

你可能感兴趣的:(linux下递归改变所有子目录的属性)