The filename "test.txt" is also used by other tests and without O_PATH the file
can't be removed at the end of this tests: open_smb_fname_fsp() fails with
ACCESS_DENIED because the POSIX mode of the file is 0000 and become_root() used
in the #ifndef O_PATH fallback case doesn't work in CI.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
bool torture_samba3_hide(struct torture_context *torture, struct smbcli_state *cli)
{
- const char *fname = "test.txt";
+ const char *fname = "torture_samba3_hide.txt";
int fnum;
NTSTATUS status;
struct smbcli_tree *hideunread;