From f4ff1451fdf0bfadd709d9a098b057da345d8a2d Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Fri, 8 Nov 2024 15:47:08 -0800 Subject: [PATCH] Fix reprovision permission errors --- bin/seagl-reprovision | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/seagl-reprovision b/bin/seagl-reprovision index 658d539..30f828d 100755 --- a/bin/seagl-reprovision +++ b/bin/seagl-reprovision @@ -12,11 +12,10 @@ sudo rm -rf /var/lib/seagl sudo rm -rf /var/lib/flatpak function copy_from_usr() { - cp /usr/etc/$1 /etc/$1 + sudo cp /usr/etc/$1 /etc/$1 } sudo rsync -rlv --delete /usr/etc/xdg/ /etc/xdg/ -cp /usr/etc/firefox/policies/policies.json /etc/firefox/policies/policies.json copy_from_usr firefox/policies/policies.json sudo systemctl reboot