Suboptimal find+chmod before snapshot deletion

Bug #1494024 reported by Mauro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Triaged
Medium
Unassigned

Bug Description

The full discussion starts here: https://bugs.launchpad.net/backintime/+bug/1487781/comments/7

In summary, running find+chmod to make the snapshot writable before deletion is probably suboptimal in most circumstances, at least in full rsync mode.
In fact, most of the snapshot files are likely to be already writable to the user, hence running a find on the full directory structure of the snapshot to delete is probably overkill, especially with huge snapshots.

It may be smarter to run rm -rf first, and then find+chmod only if the first rm -rf does not complete its job, then repeat rm -rf on the remainder. An option may allow the user to restore the old behaviour if he/she knows his/her files are mostly read-only.

Germar (germar)
Changed in backintime:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.