I know this has come up before....but.. I've got a locking issue I can't get over. Situation: --------- Unix writes a file to the /tmp directory MS-DOS (WFW 3.11) copys over the file (copy d:\file.txt ), locking it, and not releasing the lock. If Unix subsequently changes the file a re-issuing of the MS-DOS 'copy' command will appear to work ... but the MS-DOS file is _unchanged_. If MS-DOS deletes the file and subsequently re-isses the MS-DOS 'copy' command the OLD version of the file re-appears. IE) UNIX DOES --------- copy /u1/tmp/input.prc /tmp/input.prc cd /tmp l /tmp/input.prc -rw-rw-rw- 1 root other 4012 Sep 18 14:31 input.prc DOS DOS ------ copy d:\input.prc dir input.prc Volume in drive C is MS-DOS_6 Directory of C:\TMP INPUT PRC 4,012 09-18-98 2:41p 1 file(s) 4,012 bytes 42,958,848 bytes free UNIX DOES -------- /usr/local/samba/bin/smbstatus Samba version 1.9.18p3 Service uid gid pid machine ---------------------------------------------- tmp billjr group 9977 billjr (207.176.139.10) Fri Sep 18 14:4 2:07 1998 Locked files: Pid DenyMode R/W Oplock Name -------------------------------------------------- 9977 DENY_NONE RDONLY EXCLUSIVE+BATCH input.prc Fri Sep 18 14:42:14 1998 echo "small file" > input.prc l input.prc -rw-rw-rw- 1 root other 11 Sep 18 14:45 input.prc MS-DOS DOES ----------- C:\TMP>dir input.prc Volume in drive C is MS-DOS_6 Directory of C:\TMP INPUT PRC 4,012 09-18-98 2:41p 1 file(s) 4,012 bytes 42,958,848 bytes free UNIX: ----- penny /usr/local/samba/bin # smbstatus Samba version 1.9.18p3 Service uid gid pid machine ---------------------------------------------- tmp billjr group 9977 billjr (207.176.139.10) Fri Sep 18 14:4 2:07 1998 Locked files: Pid DenyMode R/W Oplock Name -------------------------------------------------- 9977 DENY_NONE RDONLY EXCLUSIVE+BATCH input.prc Fri Sep 18 14:42:14 1998 The relevant parts of smb.conf are: [global] allow hosts = allowed IP range etc. guest account = nouser comment = SCO OpenServer 3.0 workgroup = office public = yes guest ok = yes security = user wins support = yes domain logons = yes logon script = %U.bat socket options = TCP_NODELAY preserve case = yes short preserve case = yes share modes = yes domain master = yes local master = yes preferred master = yes os level = 65 writable = true lpq command = /usr/bin/lpstat -o %p printing = bsd printcap name = /usr/local/samba/lib/printcap load printers = yes print command = lp -d%p -oraw -s %s; rm %s lprm command = /usr/bin/cancel %p-%j ; locking = yes << I've turned this on & off -- no change ; op_locks = true << ibid (also fake oplocks) [tmp] ; map to D: ; We're NOT preserving case here (everything goes lowercase) as it breaks ; several shell scripts relating to payroll data IMPORT. comment = temporary files path = /tmp read only = no public = yes create mode = 0644 preserve case = no short preserve case = no ; fake oplocks = yes << also tried 'locking =no' and 'op_locks = false' Thank in advance for any insights offered. -- Bill McEachran billjr@penny.com Penny Fuels Inc. Tel: (905) 686-5200 ext. 24 339 Westney Road South #202 Fax: (905) 686-5205 Ajax ON L1S-7J6