Bug#412574: [Pkg-samba-maint] Bug#412574: it generates directories with the name of the share

Christian Perrier bubulle at debian.org
Wed Feb 28 22:03:57 CET 2007


Quoting Santiago Garcia Mantinan (manty at debian.org):
> Package: samba
> Version: 3.0.24-2
> Severity: normal
> 
> If there is a share whose name is the same as the name of a directory on
> that share (it seems that this is not case sensitive), when you access the
> directory weird things happen, like finding directories that don't exist.
> 
> I have tested this with latest 2.6 kernel cifs up to 2.6.20.1 running etch
> with the samba servers running etch and sid, this doesn't happen if the
> server is a sarge based samba, and it only happens with cifs, not with
> smbfs, so maybe it is not something wrong with samba but with the cifs
> filesystem driver, with the old samba on sarge it doesn't happen, so I
> don't know if it is samba's or cifs client's fault.
> 
> I think the best way to explain the weird behaviour here is by an example:

Thanks for the detailed information.

However, I can't reproduce this.

[public]
directory mask=0700
browseable=yes
comment=Public
read only=no
create mask=0770
public=yes
path=/var/tmp/samba-test


bubulle at mykerinos:/var/tmp/samba-test> ls -la
total 4
drwxrwsr-x 3 bubulle bikinibottom 29 2007-02-28 21:59 .
drwxrwxrwt 6 root    root         83 2007-02-28 05:34 ..
-rw-rw-r-- 1 bubulle bikinibottom 38 2006-11-21 20:15 foo
drwxrwsr-x 2 bubulle bikinibottom  6 2007-02-28 21:59 public


bubulle at mykerinos:/var/tmp/samba-test> mkdir ~/mnt ; mount.cifs //localhost/public ~/mnt
Password:
bubulle at mykerinos:/var/tmp/samba-test> ls -l ~/mnt
total 4
-rw-rw-r-- 1 bubulle bikinibottom 38 2006-11-21 20:15 foo
drwxrwsr-x 2 bubulle bikinibottom  0 2007-02-28 21:59 public
bubulle at mykerinos:/var/tmp/samba-test> ls -lR ~/mnt
/home/bubulle/mnt:
total 4
-rw-rw-r-- 1 bubulle bikinibottom 38 2006-11-21 20:15 foo
drwxrwsr-x 2 bubulle bikinibottom  0 2007-02-28 21:59 public

/home/bubulle/mnt/public:
total 0
bubulle at mykerinos:/var/tmp/samba-test>


So, no weird things here...


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


More information about the Pkg-samba-maint mailing list