restorecon isn't restoring what matchpathcon shows

Chuck Anderson cra at WPI.EDU
Fri Nov 21 19:21:42 UTC 2008


> > [root at l 9:08:23 /home/install]#ls -lZd Templates
> > drwxr-xr-x  install install unconfined_u:object_r:user_home_t:s0 
> > Templates/
> > 
> > Why does this happen?
> 
> The type is correct; only the user is wrong.  restorecon ignores
> differences in the user by default.  restorecon -F if you truly care.

Thanks for the clarification.  I'm sure I got tripped up by this 
before...

I was getting lots of SELinux alerts related to 
/home/<user>/.{gconf,ssh,...} dotfiles.




More information about the fedora-selinux-list mailing list