Hi, My samba is 3.0.13 version. I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock by the computer that UserA is on! When UserA had closed the file, UserB on another computer tries to open the file and it says it is locked by UserA. There is no way to release it unless to wait or restart samba. Any ideas what I should do? They are using Windows XP SP2. Some other users are using Windows 2000. Does Norton AntiVirus play a part? Any ideas how to solve this? Regards, adrian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, try setting dos filetimes = yes in the share Regards Adrian Chow schrieb:> Hi, > > My samba is 3.0.13 version. > > I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock by the computer that UserA is on! When UserA had closed the file, UserB on another computer tries to open the file and it says it is locked by UserA. > > There is no way to release it unless to wait or restart samba. Any ideas what I should do? They are using Windows XP SP2. Some other users are using Windows 2000. Does Norton AntiVirus play a part? > > Any ideas how to solve this? > > Regards, > > adrian- -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer.org Munich / Bavaria / Germany https://www.schetterer.org \********************************** \* gnupgp \* public key: \* https://www.schetterer.org/public.key \********************************** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCUON4+Jw+56iSjEkRAqJrAJ92IjAYuysokOeqUZ+vnR1nx26bpACfWLdj m8p1wcGVcDVktwNnaEJibD0=OfSr -----END PGP SIGNATURE-----
On Mon, Apr 04, 2005 at 11:30:29AM +0800, Adrian Chow wrote:> Hi, > > My samba is 3.0.13 version. > > I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock by the computer that UserA is on! When UserA had closed the file, UserB on another computer tries to open the file and it says it is locked by UserA. > > There is no way to release it unless to wait or restart samba. Any ideas what I should do? They are using Windows XP SP2. Some other users are using Windows 2000. Does Norton AntiVirus play a part? > > Any ideas how to solve this?Try setting "dos filetimes = yes" on that share. I've made this the default for the next release. Jeremy.
Hi Jeremy, So far so good from my users. Thanks a lot. adrian ---------- Original Message ---------------------------------- From: Jeremy Allison <jra@samba.org> Reply-To: Jeremy Allison <jra@samba.org> Date: Mon, 4 Apr 2005 10:04:11 -0700>On Mon, Apr 04, 2005 at 11:30:29AM +0800, Adrian Chow wrote: >> Hi, >> >> My samba is 3.0.13 version. >> >> I got a funny problem. UserA logs on to a shared (all users can read/write/execute rights) drive and opens an excel file. UserA closes the file or modifies it. When UserA reopens the file in 5 secs or less, the file seems to be lock by the computer that UserA is on! When UserA had closed the file, UserB on another computer tries to open the file and it says it is locked by UserA. >> >> There is no way to release it unless to wait or restart samba. Any ideas what I should do? They are using Windows XP SP2. Some other users are using Windows 2000. Does Norton AntiVirus play a part? >> >> Any ideas how to solve this? > >Try setting "dos filetimes = yes" on that share. I've made this the >default for the next release. > >Jeremy. >