From eb45e10790ad08d45b5f060c6ce1fd9b53c1680f Mon Sep 17 00:00:00 2001 From: Lit Zhou <274410087@qq.com> Date: Wed, 4 Mar 2020 17:06:40 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=90=8E=E7=AB=AF=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=91=98=E5=BF=85=E5=A4=87=E7=9A=84Linux=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E7=9F=A5=E8=AF=86.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补充一个递归授权命令 --- .../后端程序员必备的Linux基础知识.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/operating-system/后端程序员必备的Linux基础知识.md b/docs/operating-system/后端程序员必备的Linux基础知识.md index 3af99b4e..d7288985 100644 --- a/docs/operating-system/后端程序员必备的Linux基础知识.md +++ b/docs/operating-system/后端程序员必备的Linux基础知识.md @@ -280,6 +280,8 @@ Linux中的打包文件一般是以.tar结尾的,压缩的命令一般是以.g **`chmod u=rwx,g=rw,o=r aaa.txt`** +**`chmod -R u=rwx,g=rwx,o=rwx ./log`** // 递归给log目录下的所有文件授权 + ![](https://user-gold-cdn.xitu.io/2018/7/5/164697447dc6ecac?w=525&h=246&f=png&s=12362) 上述示例还可以使用数字表示: