question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User and group owner variables are being ignored?

See original GitHub issue

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, 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
adferrandcommented, Jan 21, 2019

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!

0reactions
rfgamaralcommented, Jan 21, 2019

Now it works… I swear I tested the UID and GID 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found