NFSv4: fix corner cases with ACCESS in OPEN
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | NFSv4: don't check MAY_WRITE access bit in OPENfs/ | +3 | 0 replies | |
| 2/2 | NFSv4: don't put ACCESS in OPEN compound if O_EXCLfs/ fs/ include/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] NFSv4: fix corner cases with ACCESS in OPEN
My recent "ACCESS in OPEN" patch that fixed permissions due to OPEN operations having no way to differentiate between READ and EXEC had several issues:
- when files are opened O_EXCL, ACCESS will always return permission denied for all bits until close is called.
- POSIX allows processes to write to files without write permissions if that process created the file