Re: [Samba] File locking issue
Yan Seiner wrote: Hi everyone: I posted this a couple of weeks ago and got no response. My client is still stuck with this issue and I am quickly running out of ideas to try. Does anyone have any ideas/suggestions? This is a long-term customer and so far their server has provided outstanding service - until now. I have a client with an older server that is running into a weird file locking problem. The server is running FC2, samba 3.0.7 and kernel 2.6.10. Both your Linux installation and your Samba server is way outdated, I strongly recommend you get them upgraded. A lot of bugfixes to Samba have come and gone since 3.0.7, and it's been a long time since the last patch to FC2. This could well be your problem. They have recently installed AutoDesk Revit, which is apparently some sort of collaborative design software. Revit keeps a central repository and then allows different clients to access it. What is happening is that only the person who created the file has read/write access to it - even after s/he closes the file. Here's a log from the workstation that creates the file. From what I understand, the user 'johan' created the file and then tested read/write ability. My apologies for starting simple. You say the file is on the Data share, where files are created 771. 1. Does 'ls -l Martini-central.rvt' on the linux side show what it should? 2. Are users johan and kevin both members of the same group, as they need to be if they are trying to share a file with 771? -BT -- Bjørn Tore Sund Phone: 555-84894 Email: [EMAIL PROTECTED] IT department VIP: 81724 Support: http://bs.uib.no Univ. of Bergen When in fear and when in doubt, run in circles, scream and shout. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] File locking issue
Hi everyone: I posted this a couple of weeks ago and got no response. My client is still stuck with this issue and I am quickly running out of ideas to try. Does anyone have any ideas/suggestions? This is a long-term customer and so far their server has provided outstanding service - until now. I have a client with an older server that is running into a weird file locking problem. The server is running FC2, samba 3.0.7 and kernel 2.6.10. They have recently installed AutoDesk Revit, which is apparently some sort of collaborative design software. Revit keeps a central repository and then allows different clients to access it. What is happening is that only the person who created the file has read/write access to it - even after s/he closes the file. Here's a log from the workstation that creates the file. From what I understand, the user 'johan' created the file and then tested read/write ability. [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 3] smbd/open.c:open_file(178) Error opening file REVIT/test-08-06-07/Martini-central.rvt (No such file or directory) (local_flags=0) (flags=0) [2007/08/06 16:09:42, 3] smbd/error.c:error_packet(105) error string = No such file or directory [2007/08/06 16:09:42, 3] smbd/error.c:error_packet(145) error packet at smbd/trans2.c(2229) cmd=45 (SMBopenX) eclass=1 ecode=2 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8503 of length 110 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBopenX (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=No write=Yes (numopen=3) [2007/08/06 16:09:42, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8504 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (501, 500) - sec_ctx_stack_ndx = 0 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9807 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8505 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9807 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8506 of length 45 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBclose (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_close(2778) close fd=27 fnum=9807 (numopen=3) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8507 of length 110 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBopenX (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=Yes write=No (numopen=3) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8508 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9808 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8509 of length 45 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBclose (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_close(2778) close fd=27 fnum=9808 (numopen=3) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8510 of length 83 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBunlink (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_unlink(1697) reply_unlink : REVIT/test-08-06-07/Martini-central.rvt [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=Yes write=No
[Samba] File locking issue
I have a client with an older server that is running into a weird file locking problem. The server is running FC2, samba 3.0.7 and kernel 2.6.10. They have recently installed AutoDesk Revit, which is apparently some sort of collaborative design software. Revit keeps a central repository and then allows different clients to access it. What is happening is that only the person who created the file has read/write access to it - even after s/he closes the file. Here's a log from the workstation that creates the file. From what I understand, the user 'johan' created the file and then tested read/write ability. [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 3] smbd/open.c:open_file(178) Error opening file REVIT/test-08-06-07/Martini-central.rvt (No such file or directory) (local_flags=0) (flags=0) [2007/08/06 16:09:42, 3] smbd/error.c:error_packet(105) error string = No such file or directory [2007/08/06 16:09:42, 3] smbd/error.c:error_packet(145) error packet at smbd/trans2.c(2229) cmd=45 (SMBopenX) eclass=1 ecode=2 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8503 of length 110 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBopenX (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=No write=Yes (numopen=3) [2007/08/06 16:09:42, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8504 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (501, 500) - sec_ctx_stack_ndx = 0 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9807 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8505 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9807 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8506 of length 45 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBclose (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_close(2778) close fd=27 fnum=9807 (numopen=3) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8507 of length 110 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBopenX (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=Yes write=No (numopen=3) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8508 of length 41 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBgetattrE (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_getattrE(5066) reply_getattrE fnum=9808 [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8509 of length 45 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBclose (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_close(2778) close fd=27 fnum=9808 (numopen=3) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) [2007/08/06 16:09:42, 3] smbd/process.c:process_smb(1092) Transaction 8510 of length 83 [2007/08/06 16:09:42, 3] smbd/process.c:switch_message(887) switch message SMBunlink (pid 5543) conn 0x949fd30 [2007/08/06 16:09:42, 3] smbd/reply.c:reply_unlink(1697) reply_unlink : REVIT/test-08-06-07/Martini-central.rvt [2007/08/06 16:09:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(REVIT/test-08-06-07/Martini-central.rvt) returning 0777 [2007/08/06 16:09:42, 2] smbd/open.c:open_file(245) johan opened file REVIT/test-08-06-07/Martini-central.rvt read=Yes write=No (numopen=3) [2007/08/06 16:09:42, 2] smbd/close.c:close_normal_file(262) johan closed file REVIT/test-08-06-07/Martini-central.rvt (numopen=2) And here's user 'kevin' attempting to get r/w access after johan closed everything. [2007/08/06 16:43:22, 3] smbd/dosmode.c:unix_mode(111)