Rsync permission not copying over

Backup and restore solutions, issues, experiences
Locked
User avatar
kenlewisesq
Posts: 5
Joined: 13 Jan 2023, 08:26

Rsync permission not copying over

Post by kenlewisesq »

I am Rsyncing files from a TNAS running 5.1.13 to a TNAS running 5.0.176. The files copy correctly but only the admin account can access them on the destination TNAS. Is there a setting to allow permissions to pass through to the destination server? Ideally the admin account on the target device would have ownership over the files but the shared accounts (accounts which appear on both servers) would retain their rights.
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Rsync permission not copying over

Post by TMSupport »

Folder permissions could not be copied. You need to go to Control Panel - Shared Folder, click "Edit" to set permissions.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
kenlewisesq
Posts: 5
Joined: 13 Jan 2023, 08:26

Re: Rsync permission not copying over

Post by kenlewisesq »

Thank you for the reply. Is it possible to support the rsync archive flags such as -p to preserve the permissions as discussed in this article https://www.baeldung.com/linux/rsync-archive-mode?
User avatar
kenlewisesq
Posts: 5
Joined: 13 Jan 2023, 08:26

Re: Rsync permission not copying over

Post by kenlewisesq »

Also, files and folders copied to a shared folder do NOT inherit the permissions for that shared folder.
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Rsync permission not copying over

Post by TMSupport »

kenlewisesq wrote: 14 Jan 2023, 09:25 Also, files and folders copied to a shared folder do NOT inherit the permissions for that shared folder.
Edit the shared folder and select "Permissions are inherited to all directories".
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
kenlewisesq
Posts: 5
Joined: 13 Jan 2023, 08:26

Re: Rsync permission not copying over

Post by kenlewisesq »

Thanks. I do that already but was hoping to avoid that step. Please consider implementing automatic permission inheritance or the rsync archive flags.
Locked