"delete veto files = no" seems to break. (1) Created dir1 (rwxrwxrwx) | | +-- invisible (rwxrwxrwx) (2) set in smb.conf: ----- veto files = /invisible/ delete veto files = no (default) ----- Directory "invisible" can not access from Windows because of "veto files" parameter (This is OK). (3) rmdir /s /q dir1 on Windows (4) Expected behavior is that deleting dir1 is failed but actually not. I checked this at Samba 3.2.4/Samba 3.0.24/Samba 2.2.12.
Created attachment 3725 [details] Patch for 3.2.x. This fixes it for 3.2.x and above. The problem was were were only looking at this parameter for a directory, not a file. Thanks for the bug report. Jeremy.
Fixed in all git trees. Jeremy.
I applied this patch and found this bug was fixed. Thanks!