Re: /usr/share - self inflicted issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux