diff --git a/bin/omarchy-hibernation-setup b/bin/omarchy-hibernation-setup index a70ec2b1..4714bbce 100755 --- a/bin/omarchy-hibernation-setup +++ b/bin/omarchy-hibernation-setup @@ -67,7 +67,7 @@ echo "HOOKS+=(resume)" | sudo tee "$MKINITCPIO_CONF" >/dev/null sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/keyboard-backlight" /usr/lib/systemd/system-sleep/ # Ensure FUSE mounts don't prevent sleep -sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/ +sudo install -m 0755 -o root -g root "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/ # Add resume= kernel parameters so the initramfs resume hook knows where to find the # hibernation image. Without these, resume happens late (after GPU drivers load) and fails. diff --git a/migrations/1773012889.sh b/migrations/1773012889.sh index ba96067c..585df7e0 100644 --- a/migrations/1773012889.sh +++ b/migrations/1773012889.sh @@ -1,4 +1,4 @@ echo "Install system-sleep hook to unmount FUSE before suspend/hibernate" sudo mkdir -p /usr/lib/systemd/system-sleep -sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/ +sudo install -m 0755 -o root -g root "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/