Re: [PATCH 1/1] Fix permission checking by NFS client for open-create with mode 000

2014-07-09 Thread Frank S. Filz
From: "Frank S. Filz" I used the following program to test the patch: It does report 4 failures, as expected, when the file does not already exist: open("foo", O_CREAT | O_TRUNC | O_RDONLY, 000); open("foo", O_CREAT | O_TRUNC | O_RDONLY, 111

[PATCH 1/1] Fix permission checking by NFS client for open-create with mode 000

2014-07-09 Thread Frank S. Filz
From: "Frank S. Filz" The NFS v4 client sends a COMPOUND with an OPEN and an ACCESS. The ACCESS is required to verify an open for read is actually allowed because RFC 3530 indicates OPEN for read only must succeed for an execute only file. The old code expected to have read acc