Bug 101324 - [smbfs] smbfs sometimes not case sensitive when it's supposed to be
Summary: [smbfs] smbfs sometimes not case sensitive when it's supposed to be
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 20:00 UTC by Kirk Strauser
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Strauser 2006-08-03 20:00:32 UTC
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.

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.
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 ..
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-05-18 05:21:08 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:46 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped