It looks like your folder does not have the correct read and write permissions.
Try to provide read and write access to all users in the appropriate directory, for example:
sudo chmod -R ugo+rw /mnt/my-address
If itβs not convenient for you to grant write permissions to everyone, you can fine tune permissions by playing with property rights and groups, but I need more information about your setup to help you with this.
Edit : if only the ec2 user is the only one who needs access, you can change the ownership of the directory for this user, and then grant access only to him:
sudo chown -R ec2-user:ec2-user /mnt/my-address sudo chmod -R u+rw,go-rw /mnt/my-address
David levesque
source share