relabel home directory?
Charles R. Anderson
cra at WPI.EDU
Mon Mar 22 06:25:34 UTC 2004
I installed a fresh copy of FC 1.91 200403191323, formatting all
partitions except /home. My home directory is not properly labelled,
so I cannot log in. A new user created with "useradd" can log in.
How do I fix the contexts on my home directory?
[root at foo home]# ls --lcontext
total 32
drwx------ 18 root:object_r:file_t cra cra 4096 Mar 18 00:35 cra
drwx------ 2 (null) root root 16384 Feb 16 16:01 lost+found
drwx------ 16 root:object_r:user_home_dir_t test test 4096 Mar 22 01:18 test
[root at foo cra]# ls --lcontext
....
-rw-r--r-- 1 (null) cra cra 738 Feb 16 23:21 .complete
drwxr-x--- 2 (null) cra cra 4096 Mar 18 00:30 Desktop
-rw-r--r-- 1 (null) cra cra 2323 Feb 16 23:21 .dircolors
-rw-r--r-- 1 (null) cra cra 26 Mar 18 00:30 .dmrc
....
More information about the fedora-selinux-list
mailing list