summaryrefslogtreecommitdiff
path: root/source4/torture/raw/samba3hide.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-08 16:11:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:14 -0500
commitaeda6017ac8954a829cd300dd5e3c8cb05d0b896 (patch)
tree54d558627c1d87534e169e64e112245321bbc9ae /source4/torture/raw/samba3hide.c
parent36f78c139ab4389163c6e9b26fd4659a16ede3c8 (diff)
downloadsamba-aeda6017ac8954a829cd300dd5e3c8cb05d0b896.tar.gz
samba-aeda6017ac8954a829cd300dd5e3c8cb05d0b896.tar.bz2
samba-aeda6017ac8954a829cd300dd5e3c8cb05d0b896.zip
r20613: The individual tests are fine, I did run samba3badpath, but raw-samba3hide
left test.txt with permissions 000 behind... Volker (This used to be commit fdd501f8032dceb05989c582132b036bb22e6fb1)
Diffstat (limited to 'source4/torture/raw/samba3hide.c')
-rw-r--r--source4/torture/raw/samba3hide.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/raw/samba3hide.c b/source4/torture/raw/samba3hide.c
index 8c90ed49b2..d26ff98184 100644
--- a/source4/torture/raw/samba3hide.c
+++ b/source4/torture/raw/samba3hide.c
@@ -263,6 +263,9 @@ BOOL torture_samba3_hide(struct torture_context *torture)
return False;
}
+ smbcli_chmod(cli->tree, fname, UNIX_R_USR|UNIX_W_USR);
+ smbcli_unlink(cli->tree, fname);
+
return True;
}