Bug 337 - Files can not be deleted with 'del *.*' from commandline
Summary: Files can not be deleted with 'del *.*' from commandline
Status: RESOLVED INVALID
Alias: None
Product: Samba 2.2
Classification: Unclassified
Component: File Services (show other bugs)
Version: 2.2.8a
Hardware: All Linux
: P3 normal
Target Milestone: ---
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-21 12:10 UTC by Volker Hayd
Modified: 2005-11-14 09:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hayd 2003-08-21 12:10:21 UTC
Hello Together,

Scenario : 
You have created i.e. 500 files in one directory which do not meet the 8.3
convention and it's filenames are nearly similar. ( test001.blabla,
test002.blabla, test003.blabla ..... , test500.blabla)

Test :
Now open a MSDOS-Commandline, change the active workingdirectory to where the
testfiles reside in and try a 'del *.*'. You will see, that not all files will
be deleted.

possible workaround : 
setting protocol to LANMAN2 . Don't know why but it works ;-)

Appearance Server :
This seems to appear in all SaMBa 2.2.x Versions.
It does >not< appear in SaMBa 3.x

Appearance Client :
This is reproducable with Windows NT, 2000, XP and OS/2 in all Fixlevels
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-08-21 13:34:23 UTC
setting 'mangling method = has2'  in the [global] section 
should fix your problem.



Comment 2 Volker Hayd 2003-08-22 02:42:09 UTC
[global]
...
mangling method = hash2
...

did fix the problem.

Please change to INVALID
Comment 3 Gerald (Jerry) Carter (dead mail address) 2003-08-22 05:43:43 UTC
ok.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:24:19 UTC
database cleanup