mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Merge pull request #1029 from ValdikSS/master
Fix docker keyring permissions due to custom umask
This commit is contained in:
commit
3fb4bd121b
1 changed files with 7 additions and 1 deletions
|
|
@ -158,7 +158,13 @@ function fetch() {
|
|||
}
|
||||
|
||||
function install_docker() {
|
||||
(fetch https://get.docker.com/ | sh) >&2
|
||||
(
|
||||
# Change umask so that /usr/share/keyrings/docker-archive-keyring.gpg has the right permissions.
|
||||
# See https://github.com/Jigsaw-Code/outline-server/issues/951.
|
||||
# We do this in a subprocess so the umask for the calling process is unaffected.
|
||||
umask 0022
|
||||
fetch https://get.docker.com/ | sh
|
||||
) >&2
|
||||
}
|
||||
|
||||
function start_docker() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue