chmod: “777/nginx-1.20.2” 后缺少操作数
时间: 2023-09-14 11:10:39 浏览: 81
这个错误是因为在使用 `chmod` 命令时,缺少了要操作的文件或目录的参数。你需要指定要更改权限的文件或目录的路径。例如,如果你希望将 `nginx-1.20.2` 文件的权限设置为 `777`,可以使用以下命令:
```
chmod 777 /path/to/nginx-1.20.2
```
请将 `/path/to/nginx-1.20.2` 替换为实际文件的路径。这样,`chmod` 命令就会将该文件的权限设置为 `777`。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)