User and group owner variables are being ignored?
See original GitHub issueI’ve tried to set both the environment variable CERTS_USER_OWNER
and CERTS_GROUP_OWNER
to docker:users
but it didn’t do anything, the archive
and live
folders, along with the cert files inside them were still created with root:root
.
I’ve also tried the corresponding docker
and users
IDs instead of the strings but it also didn’t work…
drwxrwxrwx+ 1 root root 72 Jan 19 23:20 accounts/
drwxr-x--- 1 root root 28 Jan 19 23:22 archive/
drwxrwxrwx+ 1 root root 40 Jan 19 23:20 csr/
drwxrwxrwx+ 1 root root 40 Jan 19 23:20 keys/
drwxr-x--- 1 root root 40 Jan 19 23:22 live/
drwxrwxrwx+ 1 root root 38 Jan 19 23:22 renewal/
drwxrwxrwx+ 1 root root 26 Jan 19 23:20 renewal-hooks/
-rwxrwxrwx+ 1 admin users 32 Jan 19 12:54 domains.conf*
-rwxrwxrwx+ 1 admin users 90 Jan 19 13:01 lexicon_cloudflare.yml*
Am I doing something wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
User and group owner variables are being ignored? · Issue #40
I've tried to set both the environment variable CERTS_USER_OWNER and CERTS_GROUP_OWNER to docker:users but it didn't do anything, ...
Read more >group permissions on directory being ignored for user
No, the user is not the owner of the directory; the directory is owned by root. And I don't think that the "owner"...
Read more >setgid being ignored by application - Unix StackExchange
I run a Weblogic installation on a Oracle Linux Server 7.8. An application in weblogic will write some files to a local directory...
Read more >I cannot add the parent directory to *safe.directory* in Git
The security issue is that on WIndows shared drives (and potentially on any multi-user system including some Linux systems) it may be possible ......
Read more >The -primary_group entry in ccweb.conf is ignored on UNIX ...
The CLEARCASE_PRIMARY_GROUP variable is not for use on UNIX or Linux, therefore a UNIX Web server ignores the directive in the ccweb.conf file....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No problem. I will stay vigilent about this story about files permissions, as we could not find if there was a real flaw in the container or not.
Even if it is only about a misuse from you side, it adds arguments on my side to consider that I really need to refactor the container configuration to make it better readable.
And your welcome!
Now it works… I swear I tested the
UID
andGID
before (because I have many other containers that require that too) and it didn’t work, but now it’s all good. Sorry about the confusion and thanks for the help.