R
Runpod12mo ago
Carson

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
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Carson
CarsonOP12mo ago
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.

Did you find this page helpful?