Hi! Probably I found a very ugly bug. I tried to delete a directory named '*' from a folder shared from a Linux server. The name of the directory shown in Windows was ~0%. When I deleted the file, ALL FILES IN FOLDER WHERE DELETED!!! (Except other directories.) Than I got an error 'access denied'. The directory '*' wasn't deleted. When I tried to delete this directory once again, all went ok. myserver:~# /usr/sbin/smbd -V Version 2.2.3a-12.3 for Debian C:\Windows>ver Windows 95. [Version 4.00.1111] (Windows 95OSR2) Best, Maciek P.S. I know that I shouldn't have created the files with such strange names, but it was only the test. I wanted to know how Samba handles such names. And now I know. :)
> -----Original Message----- > From: Maciej Huetter [mailto:mhuetter@abmsolid.com.pl]> Probably I found a very ugly bug. I tried to delete a directory named > '*' from a folder shared from a Linux server. The name of the > directory > shown in Windows was ~0%. When I deleted the file, ALL FILES > IN FOLDER > WHERE DELETED!!! (Except other directories.) > Than I got an error 'access denied'. The directory '*' wasn't deleted. > When I tried to delete this directory once again, all went ok.I'm not sure this is necessarily a Samba bug. "*" isn't a legal Windows filename so I wouldn't expect a Windows client to do anything remotely sane when you try to delete it!
Seemingly Similar Threads
- [PATCH 1/3] Fix ERROR: trailing statements should be on next line
- [PATCH 1/3] Fix ERROR: trailing statements should be on next line
- strange file .temp.1592374672.P11164Q21M692534.hostname - doveadm altmove
- Xen 3.2.1-2 on Debian Lenny 2.6.26 2.6.26-24
- 2 ftp serwers problem