-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Error: Exit code 23 - rsync: chgrp "/var/www/hamma.dev/public_html/latest/." failed: Operation not permitted (1)
Root Cause:
- The target directory /var/www/hamma.dev/public_html/latest is owned by monitor:html_write (775 permissions)
- The pi user is a member of the html_write group, but does not own the directory
- When rsync runs with -avz (archive mode), it attempts to preserve group ownership on all transferred items including the directory itself (.)
- Non-owners cannot change group ownership on directories, even if they're members of the target group
Impact:
- Files ARE being transferred (rsync continues despite the error)
- The error is specifically about setting metadata on the directory itself, not the files
- Exit code 23 means "some files/attrs were not transferred" - in this case just the directory metadata
- The plugin logs this at INFO level as "Rsync failure" but continues operation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels