Change read/write access of a folder in Ubuntu Linux

六月ゝ 毕业季﹏ 提交于 2019-12-03 00:19:52
David Levesque

Looks like your folder does not have the correct read/write permissions.

Try granting read-write access to all users to the directory in question, e.g.:

sudo chmod -R ugo+rw /mnt/my-address

If you are uncomfortable with granting write permissions to all, you could fine tune the permissions by playing with ownership and groups, but I would need more info about your setup to help you with that.

Edit: if the ec2-user is the only one needing access, you could change the ownership of the directory to that user and then grant access to only him:

sudo chown -R ec2-user:ec2-user /mnt/my-address
sudo chmod -R u+rw,go-rw /mnt/my-address
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!