sudo chmod a+rwx -R logs

logs更改为需要授权的文件夹

为此目录及子目录所有用户拥有该文件的读取、写入、执行的权限,此时需要加-R

posted on 2023-06-12 19:40  莫等闲也  阅读(314)  评论(0编辑  收藏  举报