Bug 2801 - "delete veto files" broken in 3.0.14a
Summary: "delete veto files" broken in 3.0.14a
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.14a
Hardware: x86 All
: P3 major
Target Milestone: none
Assignee: Jeremy Allison
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 06:34 UTC by Michael gasch
Modified: 2015-06-24 18:57 UTC (History)
0 users

See Also:


Attachments
Patch (1.55 KB, patch)
2005-06-15 11:46 UTC, Jeremy Allison
no flags Details
Patch for 3.0.14a source code (11.78 KB, patch)
2005-06-15 12:12 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael gasch 2005-06-15 06:34:18 UTC
platform: 3.0.14a

according to 
http://groups.google.de/group/linux.debian.bugs.dist/browse_thread/thread/487f6aaf0f2c6d76/d62575e9f48bae13?q=delete+veto+files+broken&rnum=7&hl=de#d62575e9f48bae13
3.0.12 could also be affected

#####################

we're working with samba/netatalk in coexistence and the following configuration:

[testdir]
   comment = Testshare
   path = /data/testdir
   browseable = no
   writeable = yes
   create mode  = 660
   directory mode = 770
   force create mode = 660
   force directory mode = 2770
   force user = administrator
   force group = board
   valid users = EVAN\testuser
   hide files = /_*/:*/.*/.AppleDB/.AppleDouble/.bin/.AppleDesktop/Network Trash
Folder/TheVolumeSettingsFolder/TheFindByContentFolder/Temporary Items/

   vfs object = netatalk
   veto files = /.AppleDouble/.AppleDB/*.mp3/
   delete veto files = yes

#####################

if you try to delete a folder under /data/testdir, which has a vetoed folder
like .AppleDouble in it, the all content in the vetoed folder gets deleted (if
the content is not vetoed, too), but the vetoed folder (like .AppleDouble) won't
be deleted and thus deletion of
/data/testdir/myfolder_with_vetoed_content_beneath fails

i'm sorry for this information but it's rather urgent because on our fileserver
are now lots of empty zombie folders

thx
Comment 1 Jeremy Allison 2005-06-15 11:46:31 UTC
Created attachment 1275 [details]
Patch

Here is the fix in SVN I added to fix this bug.
Jeremy.
Comment 2 Jeremy Allison 2005-06-15 12:12:28 UTC
Created attachment 1276 [details]
Patch for 3.0.14a source code
Comment 3 Jeremy Allison 2005-06-15 12:12:49 UTC
Please try either SVN SAMBA_3_0 or apply the given patch to the 3.0.14a source code.
Thanks,
Jeremy.
Comment 4 Michael gasch 2005-06-16 06:05:09 UTC
works great with 3.0.14a 
 
thank you so much! 
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:19:42 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 6 Alice 2015-06-24 17:07:19 UTC
Created attachment 11192 [details]
patch