Bug 11422 - Feature request: add support for Linux libcap[-ng]
Feature request: add support for Linux libcap[-ng]
Product: rsync
Classification: Unclassified
Component: core
All Linux
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-07-31 20:16 UTC by Kevin Korb
Modified: 2015-07-31 20:56 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Korb 2015-07-31 20:16:27 UTC
Linux has added a concept called file capabilities.  This allows certain binaries to perform specific privileged functions without requiring SUID root.

# getcap /bin/ping
/bin/ping = cap_net_raw+ep

Rsync should be able to (optionally of course) copy these attributes as it can copy xattrs and ACLs.  They should also be storable via --fake-super on non-Linux systems.
Comment 1 Kevin Korb 2015-07-31 20:56:55 UTC
Nevermind.  Apparently --xattrs covers this.  I didn't think it did.