vfs_fruit: add option veto_appledouble

Enterprise / Samba - Ralph Boehme [samba.org] - 9 June 2015 07:48 UTC

vfs_fruit adds a wildcard path "._*" to the vetolist in order to prevent client access to ._ AppleDouble files created internally by vfs_fruit for storing the Mac resource fork stream.

Unfortunately there are legitimite use cases where an OS X client may want to use such filenames, extracting ZIP archives (where the archive contains ._ files) being one of them.

A possible simple solution to this problem would be to not veto ._ files in the first place, even though that exposes internally created ._ files which the client shouldn't be able to access.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11305

b26a144 vfs_fruit: add option veto_appledouble
docs-xml/manpages/vfs_fruit.8.xml | 17 +++++++++++++
source3/modules/vfs_fruit.c | 48 +++++++++++++++++++++----------------
2 files changed, 45 insertions(+), 20 deletions(-)

Upstream: gitweb.samba.org


  • Share