Quoting Tim Richardson (t...@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:

bubu...@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:

bubu...@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



Attachment: signature.asc
Description: Digital signature

Reply via email to