Update samba from 3.0.7 up to 3.0.8 break some application: tiamat opened file tmp/UZ000000/1Cv77Chs.dat read=No write=Yes (numopen=13) [2004/11/11 11:37:55, 2] smbd/close.c:close_normal_file(270) tiamat closed file tmp/UZ000000/1Cv77Chs.dat (numopen=12) [2004/11/11 11:37:55, 2] smbd/open.c:open_file(245) tiamat opened file tmp/UZ000000/1Cv77Chs.dat read=Yes write=No (numopen=13) [2004/11/11 11:37:55, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681) file_set_dosmode of tmp/UZ000000/1Cv77Chs.dat failed (Unknown error: 0) [2004/11/11 11:37:55, 2] smbd/close.c:close_normal_file(270) tiamat closed file tmp/UZ000000/1Cv77Chs.dat (numopen=12) Thanks a lot!
fixed in subversion. leaving the bug-report open to let people know it's a known issue.
There is a patch for 3.0.8 (or to wait 3.0.9) ? Thanks a lot!
--- branches/SAMBA_3_0/source/smbd/dosmode.c 2004/11/03 00:32:08 3496 +++ branches/SAMBA_3_0/source/smbd/dosmode.c 2004/11/10 23:12:02 3673 @@ -344,9 +344,7 @@ return(-1); } - if (!get_acl_group_bits(conn, fname, &st->st_mode)) { - return(-1); - } + get_acl_group_bits(conn, fname, &st->st_mode); if (S_ISDIR(st->st_mode)) dosmode |= aDIR;
Thanks a lot!
3.0.9 containing the fix is released now.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.