Re: rsync and filesystem capabilities

2019-01-08 Thread Tim Connors via luv-main
On Wed, 9 Jan 2019, Glenn McIntosh wrote: > On 8/1/19 11:44 pm, Russell Coker via luv-main wrote: > > Below is an example. Is there a good way of preserving capabilities apart > > from running "getcap /bin/* /sbin/* /usr/bin/* /usr/sbin/*" and storing the > > output? > > Since the capabilities

Re: rsync and filesystem capabilities

2019-01-08 Thread Glenn McIntosh via luv-main
On 8/1/19 11:44 pm, Russell Coker via luv-main wrote: > Below is an example. Is there a good way of preserving capabilities apart > from running "getcap /bin/* /sbin/* /usr/bin/* /usr/sbin/*" and storing the > output? Since the capabilities are stored using extended attributes, then using the

Re: rsync and filesystem capabilities

2019-01-08 Thread Russell Coker via luv-main
On Wednesday, 9 January 2019 7:25:35 AM AEDT Andrew Luke Nesbit via luv-main wrote: > I hope you don't mind me jumping in like this... > > On 08/01/2019 12:44, Russell Coker via luv-main wrote: > > I use rsync for most of my backups. For a restore I can rsync the > > files back and touch

Re: rsync and filesystem capabilities

2019-01-08 Thread Andrew Luke Nesbit via luv-main
Dear Russell, I hope you don't mind me jumping in like this... On 08/01/2019 12:44, Russell Coker via luv-main wrote: > I use rsync for most of my backups. For a restore I can rsync the > files back and touch /.autorelabel to restore the SE Linux labels. Do you mind if I ask you what your

Re: Grub in text mode

2019-01-08 Thread Russell Coker via luv-main
On Saturday, 22 December 2018 2:04:46 AM AEDT Craig Sanders via luv-main wrote: > On Fri, Dec 21, 2018 at 04:32:20PM +1100, Russell Coker wrote: > > Recently Grub has been changing to a high resolution mode. On some systems > > this is really slow, presumably due to having a crap BIOS. On

rsync and filesystem capabilities

2019-01-08 Thread Russell Coker via luv-main
I use rsync for most of my backups. For a restore I can rsync the files back and touch /.autorelabel to restore the SE Linux labels. That combination gets all setuid files etc, but doesn't get file capabilities. Below is an example. Is there a good way of preserving capabilities apart from