Red Hat Bugzilla – Bug 99562
Installer does not correctly change ownership of files in /home
Last modified: 2007-04-18 12:55:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
After I installed the beta ownership on all of the files for the users that
existed in previous Redhat Installation had to be changed unlike previous
versions. I reinstalled on a 2nd machine and the same error occured. The first
machine was running Debian and the 2nd machine was running redhat 9.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Do a fresh installation and add the same users that are in /home
Actual Results: Received an error message that I couldn't write to the .gconf
Expected Results: The ownership on the files should have been changed
I'm trying to understand...you did a new install on a system that already had a
version of Linux on it. You had a /home partition that you did not reformat,
and you created a user in firstboot who already had a home directory in /home.
Is that right?
Yes when I created the user in firstboot it did not change the ownership of the
user's home directory.
Did you not add the users back in the same order that they were originally
Closing as 'notabug'. I don't think that either firstboot or the installer
should ever be changing ownership of files.
*** Bug 124211 has been marked as a duplicate of this bug. ***
Why shouldn't firstboot change the ownership of files? This leads to
an error when the desktop environment comes up!!
Why not do this at firstboot, when a user is added:
1) check if ownership of /home/user is user:user
2) if not same, popup dialog:
"Your newly added user home directory already exist and has ownership
different then user:user. This will prevent the desktop environment
from starting correctly. Do you want to changes those permissions for
the directory and subdirectories? [Change] [Keep as same]"