Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 10:16:01 GMT
From:      Jonathan Liu<Net147@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/111007: Renaming the case of a filename on a smbfs mount using mv deletes the file
Message-ID:  <200703291016.l2TAG1OY053525@www.freebsd.org>
Resent-Message-ID: <200703291030.l2TAU5vX001879@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111007
>Category:       bin
>Synopsis:       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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 29 10:30:05 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703291016.l2TAG1OY053525>