From a37368fff4cef368d2d78fe67e1cc80c10bb47d3 Mon Sep 17 00:00:00 2001 From: Lamera Date: Wed, 16 Apr 2025 14:23:25 +0200 Subject: [PATCH] [misc] update gpt file permissions in install.sh (#3663) * Fix install.sh for some installations Fix install.sh for some installations by explicitly setting the file permissions * Add sudo --- release_files/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release_files/install.sh b/release_files/install.sh index 459645c58..e5a61dcfe 100755 --- a/release_files/install.sh +++ b/release_files/install.sh @@ -109,6 +109,9 @@ add_apt_repo() { curl -sSL https://pkgs.netbird.io/debian/public.key \ | ${SUDO} gpg --dearmor -o /usr/share/keyrings/netbird-archive-keyring.gpg + # Explicitly set the file permission + ${SUDO} chmod 0644 /usr/share/keyrings/netbird-archive-keyring.gpg + echo 'deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main' \ | ${SUDO} tee /etc/apt/sources.list.d/netbird.list