summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-08 09:48:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-08 09:48:09 +0000
commit9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95 (patch)
tree524c58126d823abd304ca358c165f72d67261c5b /perl-install
parentdf4872cdd0c851ece4987557169994ef3ffff464 (diff)
downloaddrakx-backup-do-not-use-9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95.tar
drakx-backup-do-not-use-9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95.tar.gz
drakx-backup-do-not-use-9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95.tar.bz2
drakx-backup-do-not-use-9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95.tar.xz
drakx-backup-do-not-use-9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95.zip
(set_window_manager) ensure ~/.dmrc is owned by user else GDM
complains about (spoted by frederic crozat)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index b44905cb8..7ac2be7c2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -478,6 +478,8 @@ sub set_window_manager {
#- for KDM/GDM
my $wm_number = sessions_with_order()->{$wm} || '';
update_gnomekderc("$p_home/.dmrc", 'Desktop', Session => "$wm_number$wm");
+ my $user = find { $p_home eq $_->[7] } list_passwd();
+ chown($user->[2], $user->[3], "$p_home/.dmrc");
#- for startx/autologin
{