summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-12-11 15:38:01 +0000
committerfukachan <fukachan>2001-12-11 15:38:01 +0000
commita18c864b8145cfaf097d37f9d9fda005efbb0321 (patch)
treed7b6d2ba0481ea964be2468d4d692cc7610c97c6
parentaf6c3852b1db60a4a1fc5f49f163df3a9cb8f07d (diff)
downloadfml8-a18c864b8145cfaf097d37f9d9fda005efbb0321.tar.gz
fml8-a18c864b8145cfaf097d37f9d9fda005efbb0321.tar.bz2
fml8-a18c864b8145cfaf097d37f9d9fda005efbb0321.zip
ensure installed file mode to be 0644
-rw-r--r--fml/lib/FML/Command/Admin/newml.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/fml/lib/FML/Command/Admin/newml.pm b/fml/lib/FML/Command/Admin/newml.pm
index 20aac5ce..0561e9e2 100644
--- a/fml/lib/FML/Command/Admin/newml.pm
+++ b/fml/lib/FML/Command/Admin/newml.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: newml.pm,v 1.4 2001/12/09 12:52:24 fukachan Exp $
+# $FML: newml.pm,v 1.5 2001/12/09 14:52:34 fukachan Exp $
#
package FML::Command::Admin::newml;
@@ -97,6 +97,8 @@ sub _install
my $out = new FileHandle "> $dst.$$";
if (defined $in && defined $out) {
+ chmod 0644, "$dst.$$";
+
&FML::Config::Convert::convert($in, $out, $config);
$out->close();