From 81233b65dc8bbccba15394751f240ad59f15f342 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 26 Feb 2018 13:30:20 -0500 Subject: [PATCH] libadacl: update failure return value docs for apply_default_acl(). --- src/libadacl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libadacl.c b/src/libadacl.c index 08b13b8..b25a43b 100644 --- a/src/libadacl.c +++ b/src/libadacl.c @@ -600,8 +600,7 @@ int wipe_acls(int fd) { * * @return * - @c ACL_SUCCESS - The parent default ACL was inherited successfully. - * - @c ACL_FAILURE - The target path is not a regular file/directory, - * or the parent of @c path is not a directory. + * - @c ACL_FAILURE - If symlinks or hard links are encountered. * - @c ACL_ERROR - Unexpected library error. */ int apply_default_acl_ex(const char* path, @@ -851,7 +850,7 @@ int apply_default_acl_ex(const char* path, * * @return * - @c ACL_SUCCESS - The parent default ACL was inherited successfully. - * - @c ACL_FAILURE - The target path is not a regular file/directory, + * - @c ACL_FAILURE - If symlinks or hard links are encountered. * or the parent of @c path is not a directory. * - @c ACL_ERROR - Unexpected library error. */ -- 2.43.2