From nobody@FreeBSD.org  Thu Mar 29 09:34:24 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id F22A716A402
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 09:34:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id E44CB13C4BD
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 09:34:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2T9YO9P046766
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 29 Mar 2007 09:34:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2T9TMol037710;
	Thu, 29 Mar 2007 09:29:22 GMT
	(envelope-from nobody)
Message-Id: <200703290929.l2T9TMol037710@www.freebsd.org>
Date: Thu, 29 Mar 2007 09:29:22 GMT
From: Jonathan Liu<Net147@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Renaming the case of a filename on a smbfs mount using mv deletes the file
X-Send-Pr-Version: www-3.0

>Number:         111004
>Category:       bin
>Synopsis:       [smbfs] Renaming the case of a filename on a smbfs mount using mv deletes the file
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 29 09:40:01 GMT 2007
>Closed-Date:    Mon May 21 17:09:12 GMT 2007
>Last-Modified:  Mon May 21 17:09:12 GMT 2007
>Originator:     Jonathan Liu
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD freebsd 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Renaming the case of a filename on a smbfs mount using mv deletes the
file. This seems to occur when a Windows SMB share is being mounted when
the computer the share is being hosted on uses case insensitive file
naming (which is default on most Windows systems).
>How-To-Repeat:
Change to an smbfs mounted directory and rename the case of a filename.

Example: rename TEST.MP3 to test.mp3 using 'mv TEST.MP3 test.mp3').
This gives the following output:
'mv: rename TEST.MP3 to test.mp3: No such file or directory'

Listing the directory using ls shows that the file no longer exists.
>Fix:

>Release-Note:
>Audit-Trail:

From: "Ganael LAPLANCHE" <ganael.laplanche@martymac.com>
To: bug-followup@FreeBSD.org, Net147@hotmail.com
Cc:  
Subject: Re: bin/111004: [smbfs] Renaming the case of a filename on a smbfs mount using mv deletes the file
Date: Mon, 14 May 2007 17:27:08 +0200 (CEST)

 Hi,
 
 This is related to server's case-(in)sensitiveness. I've submitted a patch for
 this PR in kern/112658.
 
 Best regards,
 
 Ganal LAPLANCHE
 ganael.laplanche@martymac.com
 http://www.martymac.com
 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Mon May 21 17:09:11 UTC 2007 
State-Changed-Why:  
Duplicate of 112658 which contains a patch 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111004 
>Unformatted:
