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

Tim Richardson tim at tim-richardson.net
Tue Jan 13 23:55:48 UTC 2009

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.

This is fixed by forcing case sensitive yes in the samba share (on the server).
In this case, file.txt and file.TXT are different.

It seems that "auto" case-sensitive doesn't work properly.
I used SWAT for the samba server admin. Debian in both cases (server and client) was Sid.

I leave #510564 open because while I think samba should be fixed, it should also be fixed in Nautilus, because there is no guarantee about the samba server being a fixed version.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser              3.110               add and remove users and groups
ii  debconf [debconf-2.0 1.5.24              Debian configuration management sy
ii  libacl1              2.2.47-2            Access control list shared library
ii  libattr1             1:2.4.43-1          Extended attribute shared library
ii  libc6                2.7-18              GNU C Library: Shared libraries
ii  libcomerr2           1.41.3-1            common error description library
ii  libcups2             1.3.8-1lenny4       Common UNIX Printing System(tm) - 
ii  libgnutls26          2.4.2-4             the GNU TLS library - runtime libr
ii  libkrb53             1.6.dfsg.4~beta1-5  MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.11-1            OpenLDAP libraries
ii  libpam-modules       1.0.1-5             Pluggable Authentication Modules f
ii  libpam-runtime       1.0.1-5             Runtime support for the PAM librar
ii  libpam0g             1.0.1-5             Pluggable Authentication Modules l
ii  libpopt0             1.14-4              lib for parsing cmdline parameters
ii  libtalloc1           1.2.0~git20080616-1 hierarchical pool based memory all
ii  libwbclient0         2:3.2.5-4           client library for interfacing wit
ii  logrotate            3.7.7-2             Log rotation utility
ii  lsb-base             3.2-20              Linux Standard Base 3.2 init scrip
ii  procps               1:3.2.7-11          /proc file system utilities
ii  samba-common         2:3.2.5-4           Samba common files used by both th
ii  update-inetd         4.31                inetd configuration file updater
ii  zlib1g               1:   compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
pn  smbldap-tools               <none>       (no description available)

-- debconf information excluded

More information about the Pkg-samba-maint mailing list