From owner-freebsd-ports Mon Jun 24 22:50:17 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2EC9B37B403 for ; Mon, 24 Jun 2002 22:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5P5o2H07141; Mon, 24 Jun 2002 22:50:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 1E05837B404 for ; Mon, 24 Jun 2002 22:46:11 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5P5k9hG071860 for ; Mon, 24 Jun 2002 22:46:09 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5P5k9Q5071859; Mon, 24 Jun 2002 22:46:09 -0700 (PDT) Message-Id: <200206250546.g5P5k9Q5071859@www.freebsd.org> Date: Mon, 24 Jun 2002 22:46:09 -0700 (PDT) From: Matthew Hook To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/39827: Copying files using Windows Explorer under Windows 2000 SP2 asks to replace file Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39827 >Category: ports >Synopsis: Copying files using Windows Explorer under Windows 2000 SP2 asks to replace file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 24 22:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matthew Hook >Release: 4.6 >Organization: R&D Technology Solutionz >Environment: FreeBSD lanserv.rds.co.nz 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:1 2 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: If you install the samba port and create a simple share on the freebsd machine all appears ok from the windows side until I try to copy a file. When the file is copied using Windows explorer the dialog +-------------------------------------------------------+ This folder already contains a file named 'label.zip'. Would you like to replace the existing file 0 bytes modified: Today, 25 June 2002, 5:39:07 PM with this one? 1.50 KB modified: Tuesday, 18 June 2002, 3:51:27 PM YES NO +-------------------------------------------------------+ My smb.conf File follows: #=================== Global Settings =========================== [global] debug level = 3 workgroup = NARNIA server string = Samba Server netbios name = POGO hosts allow = 192.168.1. 127. log file = /var/log/samba/log.%m max log size = 50 security = user encrypt passwords = yes local master = yes domain master = yes os level = 33 #===================== Share Definitions ======================= [data] comment = Data share path = /data writeable = yes write list = @staff inherit permissions = yes The data directory has the following permissions set. bash-2.05a$ ls -ld /data drwxrwxrwx 9 root staff 512 Jun 25 17:41 /data bash-2.05a$ On further investigation it appears as though Samba creates the file before Windows 2000 has checked if it exists. This might be a problem in Win2K. It seems to create a 0 length file before popping up the message box. This does not occur in WinNT 4.0(SP6a). Is this a bug in Samba or the Port? >How-To-Repeat: See above in the description >Fix: Unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message