AWS报错:chmod: changing permissions of 'xxx': Operation not permitted

AWS上修改文件权限,直接运行 ``` chmod 777 xxx ``` 后报错 chmod: changing permissions of 'xxx': Operation not permitted 原因是权限不足,需要在 chomod 777 命令前加上 sudo ``` sudo chmod 777 xxx ```
我的笔记