Question

Block Storage Permissions Issue

I’ve set up a block storage volume (/mnt/media) and can access it via SSH and SFTP. However, I can not add files to the volume from my app as it’s owned by root; I receive a permission denied error.

How can I update the permission so that the site owner can store and view files in /mnt/media?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I did this

sudo chown forge:forge /mnt/media

and, of course, it works. I just wanted to check if that is the right thing to do on a block storage volume.