Linux chmod递归设置目录755和文件644权限

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/whosheng/article/details/51838913

经常要用到的命令,记录一下。
find /path -type f -exec chmod 644 {} \; //设置文件权限为644
find /path -type d -exec chmod 755 {} \; //设置目录权限为755

为什么站长的收益越来越少?

猜你喜欢

转载自blog.csdn.net/whosheng/article/details/51838913