Bug 39512

Summary: case-insensitive XFS doesn't allow case rename
Product: File System Reporter: Björn Jacke (bjoern)
Component: XFSAssignee: XFS Guru (xfs-masters)
Status: RESOLVED WILL_NOT_FIX    
Severity: normal CC: alan, sandeen
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.29 Subsystem:
Regression: No Bisected commit-id:

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