LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsync, users, and groups (https://www.linuxquestions.org/questions/linux-software-2/rsync-users-and-groups-125574/)

Reformed 12-13-2003 03:44 PM

rsync, users, and groups
 
I'm using rsync with option "-a" and I noticed that on my local machine, permissions are preserved, but users and groups are not. My local system seems to override the remote files users and groups. Isn't option "-a" supposed to preserver these?

david_ross 12-13-2003 04:29 PM

It will preserve the UID and GID, therefore they will need to be consistent between systems.

Reformed 12-13-2003 04:50 PM

So if I upload the files that I rsync'd back to the original server, The perms will not be prevserved unless both machies have the same users and groups?

david_ross 12-13-2003 08:00 PM

They would be preserved if they were brought back to your server.

Reformed 12-13-2003 08:18 PM

Cool. Thanks.


All times are GMT -5. The time now is 09:37 AM.