hjfs: fix permcheck bug
This commit is contained in:
parent
6f442a9b07
commit
6538711ef0
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ permcheck(Fs *fs, Dentry *d, short uid, int mode)
|
|||
case OEXEC:
|
||||
return (perm & 1) != 0;
|
||||
case ORDWR:
|
||||
return (perm & 5) == 5;
|
||||
return (perm & 6) == 6;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue