summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup8
1 files changed, 7 insertions, 1 deletions
diff --git a/archsetup b/archsetup
index 2eae786..a2aaa2d 100755
--- a/archsetup
+++ b/archsetup
@@ -1306,9 +1306,15 @@ EOF
action="enabling grub-btrfsd for boot menu snapshots" && display "task" "$action"
systemctl enable grub-btrfsd >> "$logfile" 2>&1 || error_warn "$action" "$?"
- # Allow user to use snapper without root
+ # Allow user to use snapper without root (required for snapper-gui)
action="allowing wheel group to use snapper" && display "task" "$action"
snapper -c root set-config "ALLOW_GROUPS=wheel" >> "$logfile" 2>&1 || error_warn "$action" "$?"
+ snapper -c root set-config "SYNC_ACL=yes" >> "$logfile" 2>&1 || error_warn "$action" "$?"
+ # Set ACL on .snapshots directory for wheel group access
+ setfacl -m g:wheel:rx /.snapshots >> "$logfile" 2>&1 || error_warn "$action" "$?"
+
+ # Install snapper GUI (AUR)
+ aur_install snapper-gui-git
else
display "task" "ext4/other filesystem detected"