mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
[PR #244] [CLOSED] Make umask a bit less paranoid #767
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/244
Author: @Stummi
Created: 7/20/2016
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
f58d3f5Make umask a bit less paranoid📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
letsencrypt.sh(+1 -1)📄 Description
While I understand the idea behind the 077 umask, I think its kinda problematic: Most of my service are running as their own user, and some of them seem to try to read the file after dropping the privileges, which is not possible with the files having 600 as access mask. I don't want to run all these application as lets-encrypt user or as root, and I think the most sensitive solution is to set the files group-readable.
Since on most modern Distributions a user belongs to his own distinct group this change is not a dangerous escalation, but this way I can add the users which needs to access the private keys to the lets-encrypt usergroup.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.