-----BEGIN PGP SIGNED MESSAGE-----
Tony Molloy wrote:
After an install of F8 I have a problem with pre-existing user directories.
I did a full install of F8 with SELinux in enforcing mode and kept my existing
user directories in /users. At the end of the install I did a "fixfiles
relabel". Now when I try to login to my account I'm told that my home
directory does not exist. It does.
The problem appears to be SELinux because when I disable it everything works.
ls -al| /home/testacc ( account created during the install )
drwx------ testacc testacc system_u:object_r:user_home_dir_t .
drwxr-xr-x root root system_u:object_r:home_root_t ..
-rw-r--r-- testacc testacc system_u:object_r:user_home_t .bash_logout
ls -alZ /users/molloyt ( my home directory )
drwx------ molloyt csstaff system_u:object_r:default_t .
drwxr-xr-x root root system_u:object_r:default_t ..
-rw-r--r-- molloyt csstaff user_u:object_r:default_t 3rd-monday
The SELinux permissions on the home directory, the owing directory and the
contents of the home directory are wrong.
So two questions:
1. how can I reset the permissions.
2. was the problem caused by the "fixfiles relabel" which I did at the end of
the install. If I had unmounted the /users partition before I did that
would I have been OK.
fedora-selinux-list mailing list
What does molloyt entry in the /etcpasswd file look like? IE Does it
list his homedir as /users/molloyt?
SELinux is supposed to figure out where home directories are and label
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----