Rsync between two Scale servers. The task does not respect or set permissions correctly. All files end up at server B with user:group of the SSH user for the Rsync task from server A.
Why is Rsync unable to set the correct permissions?
Steps to reproduce:
- Truenas Scale Dragonfish 24.04.2 on both servers
- Rsync push from server A as root over SSH, credentials stored in keychain with certificate
- User “paal” selected as user who runs the Rsync task
- Directory “paal” with owner paal:paal 1001:1001 and unix permissions 770 in dataset “privat” on server A. Dataset paal:paal and unix permissions 770
- Directory “paal” with owner paal:paal 1001:1001 and unix permissions 770 in dataset “paal” on server B. Dataset paal:paal and unix permissions 770
- Only contents of the dataset is transferred recursively from server A to B, the datasets themselves are not touched
Rsync settings:
- Recursive set
- Validate Remote Path unset
- More Options: all unset (The settings “Preserve Permissions”, “Times” and “Preserve extended attributes” does not change the behavior/symptoms