From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 3 19:00:36 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 286C816A4E8 for ; Thu, 3 Aug 2006 19:00:36 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3944E43D46 for ; Thu, 3 Aug 2006 19:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k73J0WHC014844 for ; Thu, 3 Aug 2006 19:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k73J0W1N014842; Thu, 3 Aug 2006 19:00:32 GMT (envelope-from gnats) Resent-Date: Thu, 3 Aug 2006 19:00:32 GMT Resent-Message-Id: <200608031900.k73J0W1N014842@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirk Strauser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3237916A4E7 for ; Thu, 3 Aug 2006 18:57:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D321643D45 for ; Thu, 3 Aug 2006 18:57:48 +0000 (GMT) (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 k73IvmCr038385 for ; Thu, 3 Aug 2006 18:57:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k73IvmVx038384; Thu, 3 Aug 2006 18:57:48 GMT (envelope-from nobody) Message-Id: <200608031857.k73IvmVx038384@www.freebsd.org> Date: Thu, 3 Aug 2006 18:57:48 GMT From: Kirk Strauser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/101324: smbfs sometimes not case sensitive when it's supposed to be X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 19:00:36 -0000 >Number: 101324 >Category: kern >Synopsis: smbfs sometimes not case sensitive when it's supposed to be >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 03 19:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: 6.1-STABLE >Organization: The Day Companies >Environment: FreeBSD web2.daycos.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 15 09:47:21 CDT 2006 root@jail1.daycos.com:/usr/obj/usr/src/sys/JAIL1 i386 >Description: On smbfs mounts, it is possible to open many "fake" directories that have the same name as a real directory except for case differences. These fake directories differ from the real directory in that they have no contents. I can't simply mount the directory case-insensitive for various reasons (I need access to the real filename), and this is causing significant aggravation. >How-To-Repeat: Try to access a directory and it's wrongly-cased variants: $ mount -t smbfs //WEB2@NEWPDC/E on /mnt/newpdc/e (smbfs, noexec) $ ls -la /mnt/newpdc/e/temp total 9514 drwxr-xr-x 1 www www 16384 Jul 19 09:09 . drwxr-xr-x 1 www www 16384 Dec 31 1969 .. -rwxr-xr-x 1 www www 608709 May 25 2005 82590.tif -rwxr-xr-x 1 www www 270336 Sep 4 2003 BIL.dll [snipped] -rwxr-xr-x 1 www www 26422 Oct 26 2005 report.pdf drwxr-xr-x 1 www www 16384 Jan 28 2004 test $ ls -la /mnt/newpdc/e/tEmP total 32 drwxr-xr-x 1 www www 16384 Jul 19 09:09 . drwxr-xr-x 1 www www 16384 Dec 31 1969 .. >Fix: If possible, use the "-c u" or "-c l" options to mount_smbfs to get coerce all pathnames to one case or the other. >Release-Note: >Audit-Trail: >Unformatted: