Network volume permissions
Is there a way to change permissions for files/directories on a network volume? I’d like to save Postgres data to a network drive but the directory needs permissions 700 or 750 rather than 777. I haven’t been able to find a way to change any permissions for any file/directory on a network volume.
Permissions for container volumes can be modified no problem with chmod.
2 Replies
yeah i think you can by just using the right linux command's?
have you tried that, does that work?
Due to the way the network volumes are set up, commands such as chmod only partially work - it seems that owner, group, and other all need to have identical permissions, which is an issue for Postgres, for example.
I was able to find a workaround using the LD_PRELOAD trick to mimic the correct permissions/ownership however.