Hello, I nailed down the problem as being related to long names. If I open, as an example: T:\123456789\IID.txt i get the error, the file appear has being read only. If I open instead the same file as: T:\12345678\IID.txt everything is ok. The weird thing is that it doesn't happen consistently. I happend the relevant part of a level 10 log in the two cases, but I haven't found any difference between the two. The only weird thing I see is that in both cases there's a line like this: DENIS opened file XXXXXXXXX/IID.txt read=Yes write=No (numopen=1) which looks like I have no write permissions in both cases. Thanks in advance for any help. Bye. ---- T:\123456789\IID.txt ---- Oct 19 13:50:17 server smbd[23357]: Transaction 466 of length 88 Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] smbd/process.c:switch_message(667) Oct 19 13:50:17 server smbd[23357]: switch message SMBopenX (pid 23357) Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(320) Oct 19 13:50:17 server smbd[23357]: setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(326) Oct 19 13:50:17 server smbd[23357]: 9 user groups: Oct 19 13:50:17 server smbd[23357]: 0 1 2 3 4 6 10 200 201 Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] lib/util.c:unix_clean_name(391) Oct 19 13:50:17 server smbd[23357]: unix_clean_name [/123456789/IID.txt] Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] smbd/dosmode.c:unix_mode(113) Oct 19 13:50:17 server smbd[23357]: unix_mode(123456789/IID.txt) returning 0644 Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] lib/util.c:unix_clean_name(391) Oct 19 13:50:17 server smbd[23357]: unix_clean_name [123456789/IID.txt] Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 2] smbd/open.c:open_file(214) Oct 19 13:50:17 server smbd[23357]: DENIS opened file 123456789/IID.txt read=Yes write=No (numopen=1) Oct 19 13:50:17 server smbd[23357]: [2001/10/19 13:50:17, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(184) Oct 19 13:50:17 server smbd[23357]: set_file_oplock: got kernel oplock on file 123456789/IID.txt, dev = 301, inode = 131078 Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 3] smbd/process.c:process_smb(860) Oct 19 13:50:18 server smbd[23357]: Transaction 467 of length 45 Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 3] smbd/process.c:switch_message(667) Oct 19 13:50:18 server smbd[23357]: switch message SMBclose (pid 23357) Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 3] smbd/sec_ctx.c:set_sec_ctx(320) Oct 19 13:50:18 server smbd[23357]: setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 3] smbd/sec_ctx.c:set_sec_ctx(326) Oct 19 13:50:18 server smbd[23357]: 9 user groups: Oct 19 13:50:18 server smbd[23357]: 0 1 2 3 4 6 10 200 201 Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 3] smbd/reply.c:reply_close(2997) Oct 19 13:50:18 server smbd[23357]: close fd=26 fnum=9790 (numopen=1) Oct 19 13:50:18 server smbd[23357]: [2001/10/19 13:50:18, 2] smbd/close.c:close_normal_file(206) Oct 19 13:50:18 server smbd[23357]: root closed file 123456789/IID.txt (numopen=0) ----------------------- ---- T:\12345678\IID.txt ---- Oct 19 14:01:59 server smbd[23912]: Transaction 444 of length 87 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/process.c:switch_message(667) Oct 19 14:01:59 server smbd[23912]: switch message SMBopenX (pid 23912) Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/sec_ctx.c:set_sec_ctx(320) Oct 19 14:01:59 server smbd[23912]: setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/sec_ctx.c:set_sec_ctx(326) Oct 19 14:01:59 server smbd[23912]: 9 user groups: Oct 19 14:01:59 server smbd[23912]: 0 1 2 3 4 6 10 200 201 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] lib/util.c:unix_clean_name(391) Oct 19 14:01:59 server smbd[23912]: unix_clean_name [/12345678/IID.txt] Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/dosmode.c:unix_mode(113) Oct 19 14:01:59 server smbd[23912]: unix_mode(12345678/IID.txt) returning 0644 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] lib/util.c:unix_clean_name(391) Oct 19 14:01:59 server smbd[23912]: unix_clean_name [12345678/IID.txt] Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 2] smbd/open.c:open_file(214) Oct 19 14:01:59 server smbd[23912]: DENIS opened file 12345678/IID.txt read=Yes write=No (numopen=1) Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(184) Oct 19 14:01:59 server smbd[23912]: set_file_oplock: got kernel oplock on file 12345678/IID.txt, dev = 301, inode = 131078 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/process.c:process_smb(860) Oct 19 14:01:59 server smbd[23912]: Transaction 445 of length 45 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/process.c:switch_message(667) Oct 19 14:01:59 server smbd[23912]: switch message SMBclose (pid 23912) Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/sec_ctx.c:set_sec_ctx(320) Oct 19 14:01:59 server smbd[23912]: setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/sec_ctx.c:set_sec_ctx(326) Oct 19 14:01:59 server smbd[23912]: 9 user groups: Oct 19 14:01:59 server smbd[23912]: 0 1 2 3 4 6 10 200 201 Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 3] smbd/reply.c:reply_close(2997) Oct 19 14:01:59 server smbd[23912]: close fd=26 fnum=9907 (numopen=1) Oct 19 14:01:59 server smbd[23912]: [2001/10/19 14:01:59, 2] smbd/close.c:close_normal_file(206) Oct 19 14:01:59 server smbd[23912]: root closed file 12345678/IID.txt (numopen=0) ----------------------- -- Denis Sbragion InfoTecna Tel: +39 0362 805396, Fax: +39 0362 805404 URL: http://www.infotecna.it