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 | 9e1fb25077a19e347899fa6c0870be91bb0a0a2b (patch) | |
| tree | 7d59de88b56446c652dd3e6d0644eda523f090cc /tests | |
| parent | c7a4275791dfc85c7c49ef8418e78f70c5093807 (diff) | |
| download | rsyncshot-9e1fb25077a19e347899fa6c0870be91bb0a0a2b.tar.gz rsyncshot-9e1fb25077a19e347899fa6c0870be91bb0a0a2b.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 'tests')
0 files changed, 0 insertions, 0 deletions
