fuse unit tests and fixes
This commit is contained in:
parent
e476b4f0c6
commit
4e8e188d24
@ -88,7 +88,7 @@ auto fuse_drive_base::check_access(const std::string &api_path,
|
|||||||
// Check allow execute
|
// Check allow execute
|
||||||
if ((mask & X_OK) == X_OK) {
|
if ((mask & X_OK) == X_OK) {
|
||||||
if ((effective_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) {
|
if ((effective_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) {
|
||||||
return api_error::permission_denied;
|
return api_error::access_denied;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user