The bug submitter said:

The "delete veto files" is broken since Samba 3.0.12.
Deleting a directory containing only veto files returns 
NT_STATUS_DIRECTORY_NOT_EMPTY instead of deleting all veto files/directories.


Apparently, this changed....but now, the directory is
deleted...whatever the "delete veto files" setting is:

[public]
directory mask=0700
browseable=yes
comment=Public
read only=no
create mask=0770
public=yes
path=/var/tmp/samba-test
delete veto files=no
veto files = /*.tmp/

[EMAIL PROTECTED]:/var/tmp/samba-test> mkdir bar
[EMAIL PROTECTED]:/var/tmp/samba-test> echo foo >bar/bar.tmp
[EMAIL PROTECTED]:/var/tmp/samba-test> ls -l bar
total 4
-rw-rw-r-- 1 root bikinibottom 4 2007-04-23 18:55 bar.tmp

[EMAIL PROTECTED]:/etc/whereami/profiles> smbclient //cc-mykerinos/public -U 
bubulle
Password:
Domain=[CC-MYKERINOS] OS=[Unix] Server=[Samba 3.0.24]
smb: \> dir
  .                                   D        0  Mon Apr 23 18:55:14 2007
  ..                                  D        0  Mon Apr 23 05:35:02 2007
  public                              D        0  Wed Feb 28 21:59:43 2007
  foo                                          0  Mon Apr 23 18:45:46 2007
  bar                                 D        0  Mon Apr 23 18:55:21 2007

                60675 blocks of size 32768. 24409 blocks available
smb: \> cd bar
smb: \bar\> dir
  .                                   D        0  Mon Apr 23 18:55:21 2007
  ..                                  D        0  Mon Apr 23 18:55:14 2007

                60675 blocks of size 32768. 24409 blocks available
smb: \bar\> cd ..
smb: \> rmdir bar

[EMAIL PROTECTED]:/var/tmp/samba-test> ls -l
total 0
-rw-rw-r-- 1 root    bikinibottom 0 2007-04-23 18:45 foo
-rw-rw-r-- 1 root    bikinibottom 0 2007-04-23 18:49 foo.tmp
drwxrwsr-x 2 bubulle bikinibottom 6 2007-02-28 21:59 public


No more "bar" directory..:-)

-- 


Attachment: signature.asc
Description: Digital signature

Reply via email to