CVS update: samba/source/utils

Jeremy Allison jra at samba.org
Sun Apr 15 06:47:15 EST 2001


Date:	Saturday April 14, 2001 @ 13:47
Author:	jra

Update of /data/cvs/samba/source/utils
In directory va:/tmp/cvs-serv27594/utils

Modified Files:
      Tag: SAMBA_2_2
	torture.c 
Log Message:
This little piece of insanity is inspired by the
fact that an NT client can open a file for O_RDONLY,
but set the create disposition to FILE_EXISTS_TRUNCATE.
If the client *can* write to the file, then it expects to
truncate the file, even though it is opening for readonly.
Quicken uses this stupid trick in backup file creation...
Thanks *greatly* to "David W. Chapman Jr." <dwcjr at inethouston.net>
for helping track this one down. It didn't bite us in 2.0.x
as we always opened files read-write in that release.
Jeremy.





More information about the samba-cvs mailing list