summaryrefslogtreecommitdiffstats
path: root/fsade.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsade.c')
-rw-r--r--fsade.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fsade.c b/fsade.c
index 8f8f8b1..c7f9fed 100644
--- a/fsade.c
+++ b/fsade.c
@@ -104,6 +104,12 @@ static bool is_absence_error(int error) {
}
#endif
+ // On at least FreeBSD and macOS, EINVAL is returned when the requested
+ // ACL type is not supported for that file
+ if (error == EINVAL) {
+ return true;
+ }
+
#if __APPLE__
// On macOS, ENOENT can also signal that a file has no ACLs
if (error == ENOENT) {