/usr/share - self inflicted issue
Stephen Smalley
sds at tycho.nsa.gov
Thu Jan 26 14:55:55 UTC 2006
On Thu, 2006-01-26 at 07:25 -0700, Craig White wrote:
> My main desktop, I was trying to upgrade from FC-3 to FC-4.
>
> I was a little short of space in /usr partition so I moved /usr/share
> to /home/share and symlinked it back.
>
> This seemed all and good but that does cause a cups issue.
You need to tell SELinux to label your /home/share tree as it would
the /usr/share tree, and then relabel, e.g.:
# sed -n -e "/\/usr\/share/s/\/usr\/share\//\/home\/share\//p" /etc/selinux/targeted/contexts/files/file_contexts > /etc/selinux/targeted/contexts/files/file_contexts.local
# restorecon -R /home/share
--
Stephen Smalley
National Security Agency
More information about the fedora-selinux-list
mailing list