diff options
author | Ralph Boehme <slow@samba.org> | 2017-12-06 22:09:52 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-01-09 17:09:12 +0100 |
commit | e61e9e98e9ff461055daae2fe78f0202f7ed8663 (patch) | |
tree | 83009e3c6649d27ed4453a2f69a434b921c734c9 /python | |
parent | 70d8f7c5d25f35b58620c2db8f57c7c0758267b3 (diff) | |
download | samba-e61e9e98e9ff461055daae2fe78f0202f7ed8663.tar.gz |
vfs_fruit: set delete-on-close for empty finderinfo
We previously removed the stream from the underlying filesystem stream
backing store when the client zeroes out FinderInfo in the AFP_AfpInfo
stream, but this causes certain operations to fail (eg stat) when trying
to access the stream over any file-handle open on that stream.
So instead of deleting, set delete-on-close on the stream. The previous
commit already implemented not to list list streams with delete-on-close
set which is necessary to implemenent correct macOS semantics for this
particular stream.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13181
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jan 9 17:09:12 CET 2018 on sn-devel-144
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions