safer umask

Sat, 06 May 2017 02:59:18 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 06 May 2017 02:59:18 -0400
changeset 568
d2eda02fa3c0
parent 567
e34bb3999099
child 569
0190a692645c

safer umask

.ssh/Makefile file | annotate | diff | comparison | revisions
--- a/.ssh/Makefile
+++ b/.ssh/Makefile
@@ -2,7 +2,7 @@
 # config.d/10-base to config and add an Include config.d/*
 
 config: config.d/*
-	cat config.d/* > $@
+	umask 277 && cat config.d/* > $@
 
 clean:
 	rm -f config

mercurial