SELinux last straw

Arthur Pemberton pemboa at gmail.com
Wed Oct 17 18:48:57 UTC 2007


On 10/17/07, Andy Green <andy at warmcat.com> wrote:

> The one golden rule I found seems to be to do with avoiding mv and using
> cp when introducing files to a new selinux directory tree.  So if you
> created files in ~ and mv them to /var/www/html, because it is done by
> shifting inodes around and not creating files, they will retain the home
> directory related selinux label and make trouble.  If you cp'd them
> over, new files are created in the new directory context, they will have
> httpd-related labels.

Good advice, I've noticed this too. But again, all this indepth
SELinux talk has really very little to do with Karl's problem based on
available evidence and expert posts.

-- 
Fedora 7 : sipping some of that moonshine
( www.pembo13.com )




More information about the fedora-list mailing list