Bug 253750 - sysutils/cpdup description is inaccurate
Summary: sysutils/cpdup description is inaccurate
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-02-22 00:24 UTC by dewayne
Modified: 2021-02-22 08:01 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2021-02-22 00:24:55 UTC
Based on the desciption (& hope) I installed cpdup 1.22.  I created two folders and...
# echo hello > a/hi
# setfacl -m u:www:r a/hi.txt
# setextattr user t "a line" a/hi
# cpdup a b
# getextattr user t a/hi b/hi
a/hi    a line
getextattr: b/hi: failed: Attribute not found
# getfacl b/hi.txt
# file: b/hi.txt
# owner: root
# group: wheel
(missing www acl)

I then searched the source for calls to acl_*, extattr_* and mac_*, there are no system calls included in the source tree.

The description of this port is inaccurate because it does not provide a comprehensive backup or mirror, due to its inability to copy ACL's, extended ACL's or MAC file attributes.  (MAC I can understand not doing to some extent, but acl's & extacl's should be included for the assertion to be true)

Would you please correct the description.  Suggest at least, the addition of:
"Note: This port does not copy (or mirror) FreeBSD ACLs, extended ACLs nor MAC labels."

Aside: For the interested:  rsync -aAX a/* b # does perform as expected.