Skip to content

Suboptimal find+chmod before snapshot deletion #151

@Germar

Description

@Germar

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.


Imported from Launchpad using lp2gh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions