Bug 39512 - case-insensitive XFS doesn't allow case rename
Summary: case-insensitive XFS doesn't allow case rename
Status: RESOLVED WILL_NOT_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: XFS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: XFS Guru
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 02:06 UTC by Björn Jacke
Modified: 2013-12-10 23:06 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.29
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Björn Jacke 2011-07-18 02:06:38 UTC
if you have a case-insensitive XFS filesystem it's impossible to rename files case. Renaming a file fromm "APFEL" to "apfel" is impossible. For example a rename("APFEL", "apfel") returns 0 but the file is still UPPERCASE even though one would expect it to be lowercase when being ls'ed.
Comment 1 Björn Jacke 2013-07-18 13:58:29 UTC
should this be reassigned to the VFS maintainers? There are also very ugly case-insensitivity bugs with cifs vfs, which look more like a kernel vfs issue than a filesystem problem. (also see https://bugzilla.samba.org/show_bug.cgi?id=9049)
Comment 2 Eric Sandeen 2013-08-25 17:13:27 UTC
I think this is actually as designed.  APFEL==apfel so there is no need to actually make a change.

                          The version=ci option  enables  ASCII
                          only case-insensitive filename lookup
                          and version 2 directories.  Filenames
                          are  case-preserving,  that  is,  the
                          names are stored in directories using
                          the case they were created with.

-Eric

Note You need to log in before you can comment on or make changes to this bug.