diff --git a/src/add-ons/kernel/file_systems/bfs/Inode.cpp b/src/add-ons/kernel/file_systems/bfs/Inode.cpp index bbdd06b118..4bab2972c3 100644 --- a/src/add-ons/kernel/file_systems/bfs/Inode.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Inode.cpp @@ -523,6 +523,8 @@ Inode::CheckPermissions(int accessMode) const // X bits must be set for execute permission permissions = userPermissions | groupPermissions | otherPermissions | R_OK | W_OK; + if (IsDirectory()) + permissions |= X_OK; } else if (uid == (uid_t)fNode.UserID()) { // user is node owner permissions = userPermissions;