Hi all, We are running a samba (3.0.14a-3 / sarge) server with windows 2000 Client. (recent remplacement of a NT server) The problem his that when I try to recursivly remove a folder on a samba share with "rd /s" on the windows shell, the command return an error and stop deletting subfile when the number of subfile exceed (exactly) 130. At the end of the command only 130 are deleted and not the full directory. That's very important for me because some of ours developers use this command in a lot of shell script. Should I increase some mysterious smb.conf paramater or something else ? Thank's in advance, Thomas
Gerald (Jerry) Carter
2005-Aug-17 12:40 UTC
[Samba] error with rd /s in windows 2000 shell
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Sondag wrote:> Hi all, > > We are running a samba (3.0.14a-3 / sarge) server with windows 2000 > Client. (recent remplacement of a NT server) > > The problem his that when I try to recursivly remove a folder on > a samba share with "rd /s" on the windows shell, the command > return an error and stop deletting subfile when the number of > subfile exceed (exactly) 130. At the end of the command only > 130 are deleted and not the full directory. > > That's very important for me because some of ours developers > use this command in a lot of shell script. > > Should I increase some mysterious smb.conf paramater or > something else ?Could you test out the current SAMBA_3_0_RELEASE tree. We're getting ready to ship 3.0.20 and as far as I know directory listings and removal is working ok. The changes between 3.0.14a and 3.0.20 are pretty substancial though so I can't point to a specific patch you could apply. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAzAgIR7qMdg1EfYRAthLAJkBjjsD5gJaNnPo1frXp1yNBfzqwQCgtEj8 IaC8ZSWmspzkeoag9XkA5fI=trHs -----END PGP SIGNATURE-----