Bug 174607 - /root created with wrong selinux context
Summary: /root created with wrong selinux context
Status: CLOSED DUPLICATE of bug 174227
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-30 17:34 UTC by Alexandre Oliva
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-12-01 03:34:30 UTC


Attachments (Terms of Use)

Description Alexandre Oliva 2005-11-30 17:34:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20051118 Fedora/1.5-0.5.0.rc3 Firefox/1.5

Description of problem:
/root is created as system_u:object_r:default_t, but it needs system_u:object_r:user_home_dir_t to function properly.  Without it, you get errors as follows.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Install FC5test1
2.Log in as some regular user
3.Run `su -'

Actual Results:  su: warning: cannot change directory to /root: Permission denied
su: warning: cannot change directory to /root: Permission denied
Yes, twice.

Expected Results:  No such warnings or failures to chdir.

Additional info:

restorecon /root is enough to fix the problem.

Comment 1 Jeremy Katz 2005-12-01 03:34:30 UTC

*** This bug has been marked as a duplicate of 174227 ***


Note You need to log in before you can comment on or make changes to this bug.