Displaying 1 result from an estimated 1 matches for "truncfix".
Did you mean:
truncf
2003 Jan 06
0
Desktop.ini (part) solution
...seem to be OR'ed with eachother. The quick and dirty fix is to
unlink() the file just before opening it with O_TRUNC and O_CREATE, which
partly corrects the problems as we should really OR the flags. Here is my
quick fix diff from 2.2.7a:
diff -urN samba-2.2.7a/source/smbd/open.c
samba-2.2.7a-truncfix/source/smbd/open.c
--- samba-2.2.7a/source/smbd/open.c Tue Dec 10 15:58:17 2002
+++ samba-2.2.7a-truncfix/source/smbd/open.c Mon Jan 6 16:40:30 2003
@@ -910,6 +910,7 @@
* we can do. We also ensure we're not going to create or tuncate
* the file as we only want an access decision at t...