access: fix to be POSIX compliant
This commit is contained in:
parent
67555ed829
commit
22ea34153f
@ -3925,7 +3925,7 @@ check_access_permissions(int accessMode, mode_t mode, gid_t nodeGroupID,
|
|||||||
permissions = otherPermissions;
|
permissions = otherPermissions;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (accessMode & ~permissions) == 0 ? B_OK : B_NOT_ALLOWED;
|
return (accessMode & ~permissions) == 0 ? B_OK : B_PERMISSION_DENIED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user