la******ng@outlook.com
deepin
2017-04-16 06:55 找到了这两个好用的指令
1. 只修改 /home/abc 底下所有資料夾的權限(不含檔案)
Copy the Code
2. 只修改 /home/abc 底下所有檔案的權限(不含資料夾)
Copy the Code
现在麻烦的是还要把可执行的档案找出来
1. 只修改 /home/abc 底下所有資料夾的權限(不含檔案)
- find /home/abc -type d -exec chmod 755 {} \;
2. 只修改 /home/abc 底下所有檔案的權限(不含資料夾)
- find /home/abc -type f -exec chmod 644 {} \;
现在麻烦的是还要把可执行的档案找出来
Reply Like 0 View the author


中文 

