This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

rsync doesn't keep uid and gid

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tiagofb
NewUser
NewUser
Posts: 1
Joined: 30 Dec 2014 21:04
Status: Offline

rsync doesn't keep uid and gid

Post by tiagofb »

Hi,

I'm trying to setup an rsync module in N4F to serve as a backup from a Linux machine. The directory structure at linux are shared by several users, in a collaborative way, secured by permissions to users and groups.

When I try to transfer files with rsync, all files and directories are saved at N4F with ftp:wheel group/user combination.

How can I mantain the same UID:GID used at Linux, since the user that start rsync at Linux are root?

Command used:

rsync -avP /directory_structure_to_backup n4free_ip::module_name

At N4F, in rsync module configuration, I leave User ID and Group ID empty.

What are my mistake?

Thanks.

Post Reply

Return to “RSYNC”