From f4b66a9f3a08debd52b4ccd450c6f80ba3978c45 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 1 Dec 2023 22:27:52 -0700 Subject: [PATCH] Fix enterprise policy permissions Signed-off-by: Tommy --- Fedora-Workstation-38.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Fedora-Workstation-38.sh b/Fedora-Workstation-38.sh index 29642aa..df3e880 100644 --- a/Fedora-Workstation-38.sh +++ b/Fedora-Workstation-38.sh @@ -136,8 +136,10 @@ if [ "${MACHINE_TYPE}" == 'x86_64' ]; then sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge sudo dnf install -y microsoft-edge-stable sudo mkdir -p /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/ + sudo chmod 755 /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/ sudo curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json -o /etc/opt/edge/policies/managed/managed.json sudo curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json -o /etc/opt/edge/policies/managed/recommended.json + sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json fi # Enable auto TRIM