From 35ddb9d86d0842db12458da8daec7d68541f285b Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 6 Feb 2024 23:57:59 -0600 Subject: [PATCH] fs_acl.cpp --- src/fs_acl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_acl.cpp b/src/fs_acl.cpp index ccc09457..bd8efbfe 100644 --- a/src/fs_acl.cpp +++ b/src/fs_acl.cpp @@ -50,7 +50,7 @@ namespace fs int rv; int fd; - fd = fs::openat(fd_,relpath_.parent_path(),O_RDONLY); + fd = fs::openat(fd_,relpath_.parent_path(),O_RDONLY|O_DIRECTORY); if(fd < 0) return false;