Skip to content

Commit 34eae31

Browse files
authored
Merge pull request #4857 from snwoods/private/stevenwo/CA-371790
2 parents c7eea2c + 53215ea commit 34eae31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi-types/secretString.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let with_cookie t request =
2424
let cookie = [(_pool_secret, t)] in
2525
{request with Http.Request.cookie}
2626

27-
let write_to_file = Xapi_stdext_unix.Unixext.write_string_to_file
27+
let write_to_file = Xapi_stdext_unix.Unixext.write_string_to_file ~perms:0o600
2828

2929
let write_to_channel c s = output_string c s
3030

0 commit comments

Comments
 (0)