Re: Copying Group & Owner Permissions - Not On Replica

"Head Geek (伟思礼)" <[email protected]> Fri, 21 Mar 2025 07:51:27 -0700
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
On Mar 21, 2025, at 06:19, 'Brian Spraker' via unison-users <[email protected]> wrote:
> I have a PRF file with the settings to do a replica sync.  Essentially the purpose of the sync is to back up all home folders on the server to a backup server that is offsite.

That sounds like a one-way transfer.  If so, wouldn't rsync be sufficient?

I'm not an rsync expert, but I think it can preserve the user ID and group ID of a file whether or not the user has an account on the destination.

I've used it to copy HTML and PHP files to my website.  My account there has different ID and name from my local account.  I don't get permission errors when working on the webserver, and I don't see them with files pulled back from the server after editing there.

Also, I've recently started using unison instead of rsync to do two-way sync between local and webserver..  I don't have any of the settings you mentioned in PRF and still don't see any permissions problems. 

-- 
Wes Groleau
伟思礼

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].