Cannot get rsync to keep group ownership of downloaded files
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 737
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
I'm use the sync command with the --archive option with rex. Even when running this command with sudo, group ownership of files is lost and reverts to owner or user running the rex script.
Using the rsync --archive command directly as sudo without rex worked fine and group ownership was retained.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Rex's sync command with --archive and compare the rsync invocation with the working sudo rsync --archive command described in the report. Reproduce the download with a non-owner group and verify that group ownership is retained when the Rex script runs under sudo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100