Trond Myklebust f3792d63d2 NFSv4: Fix OPEN w/create access mode checking
POSIX states that open("foo", O_CREAT|O_RDONLY, 000) should succeed if
the file "foo" does not already exist. With the current NFS client,
it will fail with an EACCES error because of the permissions checks in
nfs4_opendata_access().

Fix is to turn that test off if the server says that we created the file.

Reported-by: "Frank S. Filz" <ffilzlnx@mindspring.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2014-07-12 18:20:55 -04:00
..
2013-06-08 16:20:18 -04:00
2014-07-08 14:30:03 -04:00
2014-04-18 14:20:48 +02:00
2014-06-24 18:47:00 -04:00
2014-06-24 18:47:00 -04:00
2013-11-15 13:41:43 -05:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2014-06-10 15:02:42 -07:00
2012-07-30 19:06:52 -04:00
2014-06-24 18:47:02 -04:00
2014-06-24 18:47:01 -04:00
2014-06-24 18:47:01 -04:00
2014-06-24 18:47:00 -04:00
2014-06-25 19:01:27 -04:00
2014-06-24 18:47:00 -04:00