[Pkg-samba-maint] Bug#511744: Bug#511744: samba: ext3 fs default case-sensitive parameter is wrong and risks data loss

Christian Perrier bubulle at debian.org
Wed Jan 14 06:46:36 UTC 2009


Quoting Tim Richardson (tim at tim-richardson.net):
> Package: samba
> Version: 2:3.2.5-4
> Severity: important
> 
> When investigating bug #510564 I noticed this
> 
> 1. Share an ext3 folder with samba on a Debian host
> 2. On a Debian client, use nautilus to create two different files on the samba share,
> file.txt and file.abc. Put different content in the two different files
> 3. Rename file.abc to be file.TXT 
> 4. Note that silently, file.txt has been destroyed. The icon in nautilus may still be visible, but on opening it, it will show the contents of the original file.abc
> 
> Because this involves dataloss, it may be considered a grave bug.

Doing this with smbclient gives a different result:

bubulle at mykerinos:~/src/debian/samba/samba-3.3.0rc2/source/lib> smbclient //localhost/public
Enter bubulle's password:
Domain=[MYKERINOS] OS=[Unix] Server=[Samba 3.3.0rc2]
smb: \> ren file.abc file.TXT
NT_STATUS_OBJECT_NAME_COLLISION renaming files \file.abc -> \file.TXT


The same happens with a 3.2.5 server:

bubulle at mykerinos:~/src/debian/samba/samba-3.3.0rc2/source/lib> smbclient //localhost/public
Enter bubulle's password:
Domain=[MYKERINOS] OS=[Unix] Server=[Samba 3.2.5]
smb: \> ren file.abc file.TXT
NT_STATUS_OBJECT_NAME_COLLISION renaming files \file.abc -> \file.TXT



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090114/b222fce6/attachment-0001.pgp 


More information about the Pkg-samba-maint mailing list