jra at samba.org
Fri Apr 16 22:37:07 GMT 2004
On Fri, Apr 16, 2004 at 06:15:56PM -0400, Green, Paul wrote:
> The torture-open test #3 appears to attempt to open a file with the
> O_RDONLY|O_TRUNC flags set, and to fail if this combination is disallowed.
> My implementation is failing the test. Both the POSIX 96 and 2001 standards
> explicitly say that this combination is undefined. Is this one of those
> dirty little things that Unix systems allow, but which POSIX takes a dim
> view of?
> And I guess the next question is, am I breaking some Windows clients by not
> allowing this combination?
The main thing to test is what is sent on the wire.
What OpenX or NTCreateX flags does this map to ?
Test that against Windows, and if it's allowed,
then you should allow it too.
More information about the samba-technical