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:
Reply To:
Date:
Tue, 21 Mar 2017 11:04:46 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
On Tue, Mar 21, 2017 at 10:06 AM, Lars Behrens <[log in to unmask]> wrote:
> Am 21.03.2017 um 14:05 schrieb Nico Kadel-Garcia:
>>
>> How did you "copy the system"? Tar, for example, does not carry
>> along SELinux permissions. The "star" tool can.
>
> 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.

Thanks. I'd searched in the past for "selinux" in "man rsync" and not
found anything so I assumed that it couldn't preserve selinux
contexts. I'd also run "ldd /usr/bin/rsync" and not seen libselinux
listed. I'll have to recheck.

ATOM RSS1 RSS2