Block Storage Permissions Issue

October 8, 2016 64 views
Block Storage Ubuntu 16.04

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?

1 Answer

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.

Have another answer? Share your knowledge.