【发布时间】:2016-01-20 02:23:40
【问题描述】:
我有 Debian 的远程服务器,我需要在服务器上编辑只读文件 fcgid.conf。当我使用 sudo 时:
sudo su chmod 755 fcgid.conf
它的反应:
-bash: sudo: command not found
我也试过cmod +x:
chmod +x fcgid.conf
得到:
chmod: changing permissions of `fcgid.conf': Operation not permitted
文件的所有者是 root 用户,我不知道如何获得编辑此文件的权限。
【问题讨论】:
标签: file-permissions sudo chmod