diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-14 20:47:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-14 20:47:30 +0000 |
commit | 5baef56831f9bc4fa10a851abd5f9305b974fb3b (patch) | |
tree | 1dfaa43bb7d8a98f92abe0bcfa8eed801688acc6 /docs/htmldocs | |
parent | c23628746342b6afa28cb34b0b4eaa61189ad390 (diff) | |
download | samba-5baef56831f9bc4fa10a851abd5f9305b974fb3b.tar.gz samba-5baef56831f9bc4fa10a851abd5f9305b974fb3b.tar.xz samba-5baef56831f9bc4fa10a851abd5f9305b974fb3b.zip |
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@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.
Diffstat (limited to 'docs/htmldocs')
0 files changed, 0 insertions, 0 deletions