summaryrefslogtreecommitdiff
path: root/source4/torture/torture_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/torture_util.c')
-rw-r--r--source4/torture/torture_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c
index edc00a571f..6370086838 100644
--- a/source4/torture/torture_util.c
+++ b/source4/torture/torture_util.c
@@ -88,7 +88,7 @@ int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const cha
smbcli_unlink(cli->tree, fname);
fnum = smbcli_nt_create_full(cli->tree, fname, 0,
- SEC_RIGHTS_FULL_CONTROL,
+ SEC_RIGHTS_FILE_ALL,
FILE_ATTRIBUTE_NORMAL,
NTCREATEX_SHARE_ACCESS_DELETE|
NTCREATEX_SHARE_ACCESS_READ|