Impossible to rename file to other case on samba mounted volume

Bug #329173 reported by Fredrik
This bug report is a duplicate of:  Bug #132233: SMB Sharing not case sensitive. Edit Remove
4
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

If I have a file "test" I can't rename it to "TEST". I get an error that there already is a file with that name. But the file system on the remote disk (ext3) is case sensitive so the rename would work. I have the disk mounted using samba.

I'm pretty sure this worked before and some update has caused this annoyance.

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :

Confirmed on intrepid-amd64 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009. Does not happen either on local drives or nfs shares.

Revision history for this message
Stefan Lesicnik (stefanlsd) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in samba.

Revision history for this message
Thierry Carrez (ttx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-client

Changed in samba:
status: New → Incomplete
Revision history for this message
keppy (josh-joshandmeg) wrote :

Confirmed on intrepid, here are the details requested by Thierry Carrez:

Samba versions:

libsmbclient 2:3.2.3-1ubuntu3.4 samba install ok installed
libwbclient0 2:3.2.3-1ubuntu3.4 samba install ok installed
samba-common 2:3.2.3-1ubuntu3.4 samba install ok installed
smbclient 2:3.2.3-1ubuntu3.4 samba install ok installed
smbfs 2:3.2.3-1ubuntu3.4 samba install ok installed

The rename error happens when attempting to rename through nautilus by only changing the case of one of the letters of the file name. It is exactly as the original bug writer described.

In my case the share is mounted through fstab using CIFS with this entry:
//192.168.0.100/mybook /mnt/mybook cifs auto,uid=joshua,gid=users,credentials=/root/.credentials,file_mode=0775,dir_mode=0775 0 0

I attempted to rename the file using the smbclient through the command line and this is what was returned:
rename 01-Satisfied.mp3 01-satisfied.mp3
NT_STATUS_OBJECT_NAME_COLLISION renaming files \Music\Library\01-Satisfied.mp3 -> \Music\Library\01-satisfied.mp3

output of this commandd 'smbclient -L //remote_system':
Domain=[UBUNTU-SERVER] OS=[Unix] Server=[Samba 3.2.3]

 Sharename Type Comment
 --------- ---- -------
 badhippo Disk badhippo development
 family Disk share directory for the family
 MyBook Disk WD My Book network share
 print$ Disk Printer Drivers
 IPC$ IPC IPC Service (ubuntu-server (Samba, Ubuntu))
Domain=[UBUNTU-SERVER] OS=[Unix] Server=[Samba 3.2.3]

 Server Comment
 --------- -------

 Workgroup Master
 --------- -------
 KEPPYNET UBUNTU-SERVER

My server is running Ubuntu Server 8.10, which is what the samba share is located on.

Hope this helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.