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

来源:互联网 发布:情趣用品商城源码 编辑:程序博客网 时间:2024/05/18 03:33
chmod 644 -R *
chmod 755 `find -type d`
find /path -type f -exec chmod 644 {} \;
find /path -type d -exec chmod 755 {} \;
原创粉丝点击