Merge pull request #107 from bmwiedemann/worldwritable

Do not make files world writable
This commit is contained in:
Duncan Ferguson 2018-04-05 12:57:37 +01:00 committed by GitHub
commit 09f2671d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ for my $dest (@ARGV) {
print "Generating: $source",$/;
if(-f $dest) {
chmod(0777, $dest) || die "Could not chmod $dest for removing: $!";
chmod(0755, $dest) || die "Could not chmod $dest for removing: $!";
}
open(my $sfh, '<', $source) || die "Could not open $source for reading: $!";