linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] NFSv4: fix corner cases with ACCESS in OPEN
@ 2012-10-02 21:49 Weston Andros Adamson
  2012-10-02 21:49 ` [PATCH 1/2] NFSv4: don't check MAY_WRITE access bit " Weston Andros Adamson
  2012-10-02 21:49 ` [PATCH 2/2] NFSv4: don't put ACCESS in OPEN compound if O_EXCL Weston Andros Adamson
  0 siblings, 2 replies; 3+ messages in thread
From: Weston Andros Adamson @ 2012-10-02 21:49 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-02 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 21:49 [PATCH 0/2] NFSv4: fix corner cases with ACCESS in OPEN Weston Andros Adamson
2012-10-02 21:49 ` [PATCH 1/2] NFSv4: don't check MAY_WRITE access bit " Weston Andros Adamson
2012-10-02 21:49 ` [PATCH 2/2] NFSv4: don't put ACCESS in OPEN compound if O_EXCL Weston Andros Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).