Commit a3158e79 authored by Rusty Russell's avatar Rusty Russell

web: fix umask on uploader so it's group readable.

parent 8253b9dd
......@@ -14,6 +14,7 @@ if ($_FILES["uploadedfile"]["error"] > 0) {
$dest = tempnam($tempfolder, "upload-");
move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], $dest);
umask 0740
$subject = "CCAN: code upload by '" . $_POST['email'] . "' with name " . $_FILES["uploadedfile"]["name"];
$message = "File type: ".$_FILES["uploadedfile"]["type"]."\n".
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment