Skip to content

rootless volume (ownership/permissions of local volume) #59

Answered by ggogel
Kamtsa asked this question in Q&A
Discussion options

You must be logged in to vote

Several ideas and questions came to my mind.

  1. Why all the hassle with "rootless" backup?

From a security perspective you make it even worse. By default /var/lib/docker/volumes is only accessible for root users. In your system, the volumes are accessible on user-level. Making it even more vulnerable. What you're doing is essentially copying files on user-level, which should be protected by root-level, just to execute the backup as non-root user. It doesn't make sense. I don't understand why you specifically want to execute the backup as non-root user.

The permission system inside a container is entirely independent from the host system. So for instance if you configure a container to star…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kamtsa
Comment options

Answer selected by ggogel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants