diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-12 09:01:19 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-12 09:01:19 -0600 |
| commit | ac950facc08dbaf8bdda7431d434a16f4d02b222 (patch) | |
| tree | 7d59de88b56446c652dd3e6d0644eda523f090cc /README.org | |
| parent | 819a8e36263bbbed182f20040555ba2644dba1be (diff) | |
| download | rsyncshot-ac950facc08dbaf8bdda7431d434a16f4d02b222.tar.gz rsyncshot-ac950facc08dbaf8bdda7431d434a16f4d02b222.zip | |
Fix snapshot rotation failure on remote filesystems
Snapshots with read-only permissions (from chmod -w at creation) and
internal dirs with restrictive modes (e.g. /etc at 555) prevented
rm -rf from deleting old snapshots during rotation. This caused
cascading mv failures and silent rotation breakage.
- Add chmod -R u+w before rm -rf of oldest snapshot
- Clean up orphan snapshots beyond retention count
- Add error checking on rm, mv, and cp -al operations
Diffstat (limited to 'README.org')
0 files changed, 0 insertions, 0 deletions
