Skip to content

Commit 47f7993

Browse files
authored
Merge pull request #276 from thaJeztah/fix_keyring_permissions
install.sh: set read-permissions for environments with non-standard umask
2 parents c6e4428 + e5f4d99 commit 47f7993

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ do_install() {
401401
$sh_c 'apt-get update -qq >/dev/null'
402402
$sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pre_reqs >/dev/null"
403403
$sh_c "curl -fsSL \"$DOWNLOAD_URL/linux/$lsb_dist/gpg\" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg"
404+
$sh_c "chmod a+r /usr/share/keyrings/docker-archive-keyring.gpg"
404405
$sh_c "echo \"$apt_repo\" > /etc/apt/sources.list.d/docker.list"
405406
$sh_c 'apt-get update -qq >/dev/null'
406407
)

0 commit comments

Comments
 (0)