chmod
分类
描述
修改文件或目录的权限
语法
chmod [选项] 模式 文件...
常用选项
使用示例
- chmod 755 script.sh: 设置脚本为可执行
- chmod -R 644 *.txt: 递归设置所有txt文件权限为644
相关命令