|
Bugzilla – Full Text Bug Listing |
| Summary: | rsync --chown sets permissions to root:root after upgrade to Leap 15.6 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Georg Pfuetzenreuter <georg.pfuetzenreuter> |
| Component: | Network | Assignee: | David Anes <david.anes> |
| Status: | IN_PROGRESS --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | Leap 15.6 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Georg Pfuetzenreuter
2024-06-20 16:46:43 UTC
Hi Georg, Does this happen if you use latest version 3.3.0 from network project in OBS? https://download.opensuse.org/repositories/network/15.6/x86_64/rsync-3.3.0-lp156.165.1.x86_64.rpm Hi David, thanks for getting back. I installed the you linked on both the client and server, but the behavior unfortunately is still the same. Hi Georg, can you try adding `--numeric-ids` flags (as you are using `--chown=477:479`)? Also, are you running rsync as root? I already tried using `--numeric-ids`, it did not help - on the client side, rsync is running as root - on the server side, rsyncd is initiated as root by the systemd socket, and the module is configured with "uid root" as well. I cannot reproduce the issue, I think we are missing something. Can you try passing --super to the remote (-M--super) and see if it works (or removing it altogether, as you are root on both ends?). Thanks for investigating. The result is the same with these command lines: ``` # rsync -a --delete --owner --group --chown=477:479 --chmod='u=rwX,g=rX,o=' $PWD/ rsync://saltpush@witch1.infra.opensuse.org:873/salt-push/ # rsync -a --delete -M--super --super --owner --group --chown=477:479 --chmod='u=rwX,g=rX,o=' $PWD/ rsync://saltpush@witch1.infra.opensuse.org:873/salt-push/ ``` Both with and without the target directory previously manually chown-d. I now found out that the behavior also exists when calling rsync on a 15.6 client towards a 15.5 server. |