summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-20 13:15:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-20 13:15:47 +0000
commitedf5ca0403c4626e6b3d8a30fe80c17e592e9983 (patch)
treef927d0d9c3bc6cd801eacba31972baf28409b88e
parente3655db5e5a77a059be388a58a497a22eee8e120 (diff)
downloaddrakx-backup-do-not-use-edf5ca0403c4626e6b3d8a30fe80c17e592e9983.tar
drakx-backup-do-not-use-edf5ca0403c4626e6b3d8a30fe80c17e592e9983.tar.gz
drakx-backup-do-not-use-edf5ca0403c4626e6b3d8a30fe80c17e592e9983.tar.bz2
drakx-backup-do-not-use-edf5ca0403c4626e6b3d8a30fe80c17e592e9983.tar.xz
drakx-backup-do-not-use-edf5ca0403c4626e6b3d8a30fe80c17e592e9983.zip
- drakboot:
o create .dmrc with mode 0644 for gdm (#33774)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/any.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 2b073df3a..f73ffedbd 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- drakboot:
+ o create .dmrc with mode 0644 for gdm (#33774)
- harddrake:
o stop offering to run drakxtv
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 920d319b1..e2a3d0309 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -645,6 +645,7 @@ sub set_window_manager {
update_gnomekderc("$p_home/.dmrc", 'Desktop', Session => "$wm_number$wm");
my $user = find { $home eq $_->[7] } list_passwd();
chown($user->[2], $user->[3], "$p_home/.dmrc");
+ chmod(0644, "$p_home/.dmrc");
#- for startx/autologin
{