Add info on single-file copying; tweak `--mkpath`.
[rsync.git] / acls.c
diff --git a/acls.c b/acls.c
index c98f7b40be7083a95ec6b4a246db4499fc72290e..3cf12eeb07c42238b81236850618bd8c2b1b23ba 100644 (file)
--- a/acls.c
+++ b/acls.c
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 1996 Andrew Tridgell
  * Copyright (C) 1996 Paul Mackerras
- * Copyright (C) 2006-2020 Wayne Davison
+ * Copyright (C) 2006-2022 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -519,6 +519,7 @@ static int get_rsync_acl(const char *fname, rsync_acl *racl,
 
                sys_acl_free_acl(sacl);
                if (!ok) {
+                       rsyserr(FERROR_XFER, errno, "get_acl: unpack_smb_acl(%s)", fname);
                        return -1;
                }
        } else if (no_acl_syscall_error(errno)) {