summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-22 17:03:22 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-22 17:03:22 +0000
commit8f321567f5ea39e4acd572173578164c0639f1b2 (patch)
treeb8737361f9d3f93baa861a17aa1a5283f1a2df5d /tools
parentcf1f1cdb2b738b7d766acafecd08618d1e0674e1 (diff)
downloaddrakx-8f321567f5ea39e4acd572173578164c0639f1b2.tar
drakx-8f321567f5ea39e4acd572173578164c0639f1b2.tar.gz
drakx-8f321567f5ea39e4acd572173578164c0639f1b2.tar.bz2
drakx-8f321567f5ea39e4acd572173578164c0639f1b2.tar.xz
drakx-8f321567f5ea39e4acd572173578164c0639f1b2.zip
make sure kbluetoothdrc is readable (useful when building with a paranoid secure level)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 4ff344e6d..248e0aeaf 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -492,9 +492,11 @@ USERS=no
update_gnomekderc(get_system_root($live) . $kdm_cfg,
'X-:0-Greeter' => (PreselectUser => 'Default', DefaultUser => 'guest')) if -f $kdm_cfg;
#- don't make kbluetoothdrc display an annoying and useless popup window
- update_gnomekderc(get_system_root($live) . '/etc/kde/kbluetoothdrc',
+ my $kbluetoothd_cfg = '/etc/kde/kbluetoothdrc';
+ update_gnomekderc(get_system_root($live) . $kbluetoothd_cfg,
'Notification Messages',
'kbluepinLocInfo-usr-lib-kdebluetooth' => 'false');
+ chmod 0644, $kbluetoothd_cfg;
}
sub create_loopback_files {