Subject: [PATCH] cp: improve help regarding ACLs

From: Ondrej Valousek <[email-masked]>
Date: Tue, 24 Jan 2023 09:42:30 +0100

Improve help to clarify ACL handling
---
 src/cp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cp.c b/src/cp.c
index 016ae8988..73ffd34e9 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -239,6 +239,11 @@ When --reflink[=always] is specified, perform a lightweight copy, where the\n\
 data blocks are copied only when modified.  If this is not possible the copy\n\
 fails, or if --reflink=auto is specified, fall back to a standard copy.\n\
 Use --reflink=never to ensure a standard copy is performed.\n\
+"), stdout);
+      fputs (_("\
+\n\
+--preserve=mode also copies ACLs but only if the destination filesystem\n\
+supports ACLs of the same type (i.e. no Posix <> NFSv4 ACLs conversion)\n\
 "), stdout);
       emit_backup_suffix_note ();
       fputs (_("\
-- 
2.39.0