fuse unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-11-10 15:18:05 -06:00
parent e476b4f0c6
commit 4e8e188d24

View File

@ -88,7 +88,7 @@ auto fuse_drive_base::check_access(const std::string &api_path,
// Check allow execute
if ((mask & X_OK) == X_OK) {
if ((effective_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) {
return api_error::permission_denied;
return api_error::access_denied;
}
}