1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 11:41:33 -05:00

Fix Edge permission

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-01-02 07:15:51 -07:00
parent 3a48c54ead
commit 7861b9e50f
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -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