The Samba-Bugzilla – Bug 2169
smbd doesn't copy mangled name with wild char.
Last modified: 2006-04-08 11:49:12 UTC
How to reproduce:
On the server create a file test<.jpg and a directory 'folder'
mount the volume.
$ ls /mnt/test
$ cp /mnt/test/TPP3NO~6.JPG /mnt/test/folder
Remove the test if (ms_has_wild) in source/smbd/open.c open_file() function.
is this still an issue in 3.0.11 ?
reporter says still an issue on 3.0.11.
I don't see any weildcard charater in your
This looks like a smbfs issue. We don't support
smbfs however. You'll need to talk to the kernel
maintainers about that.
You could try the cifs fs support in the linux 2.6.
Also, in the future, it is better to keep comment to bugzilla
and not reply directly via email (helps to track the issue
(In reply to comment #2)
> reporter says still an issue on 3.0.11.
> I don't see any weildcard charater in your
What is "<"?
> This looks like a smbfs issue. We don't support
> smbfs however. You'll need to talk to the kernel
> maintainers about that.
I don't think so.
Either the test in open.c open_file()
if ((local_flags & O_CREAT) && !VALID_STAT(*psbuf) && ms_has_wild(fname))
or unix_convert() shouldn't be call when creating a file.
> You could try the cifs fs support in the linux 2.6.
same, both nttrans and smb fn call unix_convert() before calling open_file_shared...
> Also, in the future, it is better to keep comment to bugzilla
> and not reply directly via email (helps to track the issue
> more directly).
please reopen if the bug still exists in a current release.