Skip to content

Do not preserve ownership, mode or directory times when syncing - #8

Merged
Robbie1977 merged 1 commit into
mainfrom
fix/rsync-temp-dir-outside-loader-path
Aug 27, 2026
Merged

Do not preserve ownership, mode or directory times when syncing#8
Robbie1977 merged 1 commit into
mainfrom
fix/rsync-temp-dir-outside-loader-path

Conversation

@Robbie1977

Copy link
Copy Markdown
Contributor

The backup runs as nginx and the archive directories belong to whoever seeded them (or another instance), so rsync -a failed every chgrp/chown with EPERM and reported exit 23 on each run. Ownership and mode on the destination do not matter: rsync creates files as the copying user and nginx only reads its own local copy. File mtimes are still preserved because --update and find -newer depend on them.

The backup runs as nginx and the archive directories belong to whoever
seeded them (or another instance), so rsync -a failed every chgrp/chown
with EPERM and reported exit 23 on each run. Ownership and mode on the
destination do not matter: rsync creates files as the copying user and
nginx only reads its own local copy. File mtimes are still preserved
because --update and find -newer depend on them.
@Robbie1977
Robbie1977 merged commit 535970d into main Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant