-1

我在这里遇到了一个小问题,我正在尝试上传图片,但收到Permission Denied错误消息。

所以我添加了一个chmod 0777到目标目录,但我也不能使用 chmod,它Permission Denied也给了我

有什么我能做的吗?

4

1 回答 1

0

The chmod command allows you to control who is allowed to have access to your files and directories which means that in case you are not the owner of a certain file/directory or in case you are not having sufficient permissions to change permissions for a file/directory then you are going to get Permission Denied error or something similar.

To avoid you can run chmod as sudo chmod 775 directoryName;

于 2012-11-02T09:38:23.190 回答