Synology subfolders don't inherit permissions of parent after rsync synchronization

nick.z

Cadet
Joined
Nov 2, 2023
Messages
2
Hi all,
i've successfully created two rsync jobs (PULL and PUSH) on my TrueNAS Core in order to synchronize it with a remote Synology.
Everything looks fine but when i create a new folder (in the main synchronized folder) on the TrueNAS side through windows explorer and i PUSH the job, on the Synology NAS the folder has the R/W permissions only for the user that does the sync even tho i set recursive permissions on the main synchronized folder also for the other Synology users.
This happens only for new folders created on TrueNAS, vice-versa (creating a folder on Synology and doing a PULL) it works fine.
Files and document also work fine.

Any ideas?
 

nick.z

Cadet
Joined
Nov 2, 2023
Messages
2
For anyone in the future having the same problem I found the solution.

Add these two parameters in the rsync task:

--no-perms

--chmod=ugo=rwX
 
Top