summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. McEnroe <june@causal.agency>2020-07-14 16:44:33 +0000
committerC. McEnroe <june@causal.agency>2020-07-14 16:44:33 +0000
commit66f48cfaa659397fd0db0a38bef75f08194f366d (patch)
tree25c479806b4600af5e38b3b02107c003ef71765c
parentCheck that there is upload data (diff)
downloadsrc-66f48cfaa659397fd0db0a38bef75f08194f366d.tar.gz
src-66f48cfaa659397fd0db0a38bef75f08194f366d.zip
Install up CGI with mode 700
It should never be served as a regular file.
-rw-r--r--www/temp.causal.agency/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/temp.causal.agency/Makefile b/www/temp.causal.agency/Makefile
index 3f608286..3e908305 100644
--- a/www/temp.causal.agency/Makefile
+++ b/www/temp.causal.agency/Makefile
@@ -10,7 +10,7 @@ clean:
rm -f up
install: up
- install up ${WEBROOT}/up
+ install -m 700 up ${WEBROOT}/up
uninstall:
rm -f ${WEBROOT}/up