
8 Jan
2019
8 Jan
'19
11:09 p.m.
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 '-X' flag on rsync should do the trick. You may need to be root user to be able to create these on the destination (or alternatively use fake-super on rsync). regards, Glenn -- pgp: 833A 67F6 1966 EF5F 7AF1 DFF6 75B7 5621 6D65 6D65