qSnapper 1.2.1
Updated to version 1.2.1
Add pre-authentication and fix file restore safety issues, bump to v1.2.1
- Add Authenticate() D-Bus method to perform Polkit auth once before batch restore operations,
avoiding repeated password prompts for each file in RestoreFiles/RestoreFilesDirect. - Preserve symlinks correctly by checking isSymLink() before isDir(),
since QFileInfo::isDir() follows symlinks and would misroute symlink-to-directory entries into the mkdir branch. - Replace
cp -awithcp -d --preserve=all --no-preserve=xattr
to prevent the btrfs read-onlyroxattr from propagating from snapshots to the root subvolume,
which could leave/mounted read-only. - Add a safety net that checks the root subvolume's
roproperty after
restore and resets it tofalseif it became read-only. - Skip dangerous paths under
/.snapshots/during restore to avoid corrupting snapshot metadata. - In RestoreFilesDirect, only
rmthe destination fortypechangedentries instead of unconditionally,
and bail out on rm failure.
Full Changelog: v1.2.0...v1.2.1