From 9979419e6ec3ab17a2b80c3f6d5d2afc077c2f95 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 8 Sep 2004 09:48:09 +0000 Subject: (set_window_manager) ensure ~/.dmrc is owned by user else GDM complains about (spoted by frederic crozat) --- perl-install/any.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') 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 { -- cgit v1.2.1