-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add polkit support with pkexec and xhost ? #46
Comments
I agree. I think it would be rocking if |
Hurmph. This didn't work for me which is why I thought I still needed to run as root. Let me debug. |
Thanks. After messing with this a little, http://snapper.io/manpages/snapper.html#permissions could be a little clearer... I first made sure to set up $ sudo egrep '^(ALLOW_USERS|SYNC)' /etc/snapper/configs/*
/etc/snapper/configs/home:ALLOW_USERS="peter"
/etc/snapper/configs/home:SYNC_ACL="yes"
/etc/snapper/configs/root:ALLOW_USERS="peter"
/etc/snapper/configs/root:SYNC_ACL="yes" then allow access to the snapshot directories: $ sudo chmod a+rx /home/.snapshots /.snapshots That did it for me. (I don't remember if I had to run snapper one last time as root) The $ ls -ld /.snapshots /home/.snapshots
drwxr-xr-x+ 1 root root 118 Sep 10 08:00 /home/.snapshots
drwxr-xr-x+ 1 root root 148 Sep 10 08:00 /.snapshots (I think) that if these commands work as non-root, $ snapper -c root ls
$ snapper -c home ls |
As I started from GUI desktop icon from the user GUI session on recent testing distribution of Debian running GNOME on Wayland, snapper-gui didn't list all the snapshots. To see the problem, I did following from terminal emulator.
Looks like permission issue here. So I tried it with
sudo
and works fine.I am not sure if this is expected behavior or Debian package issue.
But it will be nice snapper-gui as upstream does the similar trick as gparted did with GParted 0.30.0 (2017-10-10):
Source is at https://gitlab.gnome.org/GNOME/gparted/
The text was updated successfully, but these errors were encountered: