From 7861b9e50f9860b800f9adebc3ea3ef531ebff32 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 2 Jan 2024 07:15:51 -0700 Subject: [PATCH] Fix Edge permission Signed-off-by: Tommy --- Fedora-Workstation-39.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Fedora-Workstation-39.sh b/Fedora-Workstation-39.sh index 781ae70..070e95d 100644 --- a/Fedora-Workstation-39.sh +++ b/Fedora-Workstation-39.sh @@ -138,8 +138,10 @@ if [ "${MACHINE_TYPE}" == 'x86_64' ]; then 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/ unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json + sudo chmod 644 /etc/opt/edge/policies/managed/managed.json unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/managed/recommended.json sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json + sudo chmod 644 /etc/opt/edge/policies/managed/recommended.json fi # Enable auto TRIM