summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-05-17 08:54:42 +0000
committerOlivier Blin <oblin@mandriva.org>2005-05-17 08:54:42 +0000
commita073077fce1265d1f6e733c027755113f0b7efa1 (patch)
treeeb23a9ce947a5c7fef1b7fdb400e61c723ed66ae /perl-install/standalone
parenta1abc3fc8ee117a64efd9c4bc89d25ec89dc2665 (diff)
downloaddrakx-a073077fce1265d1f6e733c027755113f0b7efa1.tar
drakx-a073077fce1265d1f6e733c027755113f0b7efa1.tar.gz
drakx-a073077fce1265d1f6e733c027755113f0b7efa1.tar.bz2
drakx-a073077fce1265d1f6e733c027755113f0b7efa1.tar.xz
drakx-a073077fce1265d1f6e733c027755113f0b7efa1.zip
fix another potential security bug (#16020)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakroam2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index fdaeda921..94a046e75 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -127,7 +127,7 @@ my %available_roaming_daemons = (
write_config => sub {},
add_net => sub {
my ($config, $essid) = @_;
- output_p("$config/$essid", qq(# essid specific config file));
+ output_with_perm("$config/$essid", 0600, qq(# essid specific config file));
},
remove_net => sub {
my ($config, $essid) = @_;