]> Git Repo - linux.git/commit
[PATCH] knfsd: nfsd4: fix open permission checking
authorJ. Bruce Fields <[email protected]>
Tue, 17 Oct 2006 07:10:14 +0000 (00:10 -0700)
committerLinus Torvalds <[email protected]>
Tue, 17 Oct 2006 15:18:46 +0000 (08:18 -0700)
commit9801d8a39cfe6c34f39f9552a246a6bd002e735e
tree1bc534709dc02d308532f5285b9f376ca2f2ec31
parentdc730e173785e29b297aa605786c94adaffe2544
[PATCH] knfsd: nfsd4: fix open permission checking

We weren't actually checking for SHARE_ACCESS_WRITE, with the result that the
owner could open a non-writeable file for write!

Continue to allow DENY_WRITE only with write access.

Thanks to Jim Rees for reporting the bug.

Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/nfsd/nfs4proc.c
This page took 0.052755 seconds and 4 git commands to generate.