summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-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
{