vfs_fruit: add option veto_appledouble
authorRalph Boehme <slow@samba.org>
Sat, 9 May 2015 06:31:24 +0000 (08:31 +0200)
committerRalph Böhme <slow@samba.org>
Tue, 9 Jun 2015 12:48:12 +0000 (14:48 +0200)
commitb26a1449a0e6d01d5ddca89547df739732c8a230
tree3ed044feca854c774fc5836375794c64e52611dc
parentaf7cc9d1b41c4007cd5d3f3d95babe9c318ae717
vfs_fruit: add option veto_appledouble

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jun  9 14:48:14 CEST 2015 on sn-devel-104
docs-xml/manpages/vfs_fruit.8.xml
source3/modules/vfs_fruit.c