smbd: Don't hide directories with "hide new files timeout"
authorVolker Lendecke <vl@samba.org>
Mon, 7 Nov 2022 14:08:51 +0000 (15:08 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 7 Nov 2022 22:58:33 +0000 (22:58 +0000)
commitbe1431a8930a9386bb5dbf15604fc6b8330c42f4
treea76f741964e7266c63e6d04d4ff85289a465f5aa
parente8848a3eab8fc43132640f67b858780f43f2b07c
smbd: Don't hide directories with "hide new files timeout"

The intention of this option was to hide *files*. Before this patch we
also hide directories where new files are dropped.

This is a change in behaviour, but I think this option is niche enough
to justify not adding another parameter that we then need to test. If
workflows break with this change and people depend on directories also
to be hidden, we can still add the additional option value required.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov  7 22:58:33 UTC 2022 on sn-devel-184
selftest/knownfail.d/hidenewfiles [deleted file]
source3/smbd/dir.c