wordpress批量修改文件权限
wordprss目录下的所有目录的权限递归设置为755
| cd wordpress |
| find -type d -exec chmod 755 {} \; |
| find -type d|xargs chmod 755 |
同样,把目录下的所有文件权限递归地改成644可以这样执行
| find -not -type d -exec chmod 644 {} \; |
| find -not -type d|xargs chmod 644 |
Google提供的广告
wordprss目录下的所有目录的权限递归设置为755
| cd wordpress |
| find -type d -exec chmod 755 {} \; |
| find -type d|xargs chmod 755 |
同样,把目录下的所有文件权限递归地改成644可以这样执行
| find -not -type d -exec chmod 644 {} \; |
| find -not -type d|xargs chmod 644 |
Google提供的广告