vfs_fruit: ignore AppleDouble files in fruit_unlink()
authorRalph Boehme <slow@samba.org>
Tue, 21 May 2019 09:42:47 +0000 (11:42 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 May 2019 20:19:27 +0000 (20:19 +0000)
commit797dc649456f39add4af8b54b60db0268ad4e90e
tree5069f94a0422eca471862702ea3957328cad6421
parent44d8568001c87d28962dfc4e3fde6d0f7f409997
vfs_fruit: ignore AppleDouble files in fruit_unlink()

Otherwise, if SMB_VFS_UNLINK() is called for an AppleDouble path "._file", we
try to delete "._._file" which doesn't make sense. AppleDouble files don't have
AppleDouble themselves.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c