Skip to content

qSnapper 1.2.1

Choose a tag to compare

@github-actions github-actions released this 07 Apr 04:20
· 20 commits to master since this release

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 -a with cp -d --preserve=all --no-preserve=xattr
    to prevent the btrfs read-only ro xattr from propagating from snapshots to the root subvolume,
    which could leave / mounted read-only.
  • Add a safety net that checks the root subvolume's ro property after
    restore and resets it to false if it became read-only.
  • Skip dangerous paths under /.snapshots/ during restore to avoid corrupting snapshot metadata.
  • In RestoreFilesDirect, only rm the destination for typechanged entries instead of unconditionally,
    and bail out on rm failure.

Full Changelog: v1.2.0...v1.2.1