SCIENTIFIC-LINUX-USERS Archives

March 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Gilbert E. Detillieux" <[log in to unmask]>
Reply To:
Gilbert E. Detillieux
Date:
Tue, 21 Mar 2017 10:37:59 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 21/03/2017 9:06 AM, Lars Behrens wrote:
> Yes, I forgot about the SELinux permissions, you're right.
>
> I did an 'rsync -xzav --numeric-ids'
>
> Where it seems that I should have added an '-X' when selinux comes into
> play, as I have learned now.

I usually use this...

	rsync -vaxHAXS --numeric-ids

... to ensure things are exactly copied.  All of the "HAXS" options need 
to be added explicitly as they're not included in the "a" option, and 
all are needed to get an exact copy of all meta-data.

-- 
Gilbert E. Detillieux		E-mail:	<[log in to unmask]>
Dept. of Computer Science	Web:	http://www.cs.umanitoba.ca/~gedetil/
University of Manitoba		Phone:	(204)474-8161
Winnipeg MB CANADA  R3T 2N2	Fax:	(204)474-7609

ATOM RSS1 RSS2