Richard Shaw wrote: > On Mon, Jan 26, 2009 at 1:18 PM, Mikkel L. Ellertson > <mikkel infinity-ltd com> wrote: >> Richard Shaw wrote: >>> One note of caution with loop mounting the DVD. It has some selinux >>> problems and I had to do a "setenforce 0" before it would work >>> properly. It has something to do with traversing onto the mounted >>> image and the contexts changing. >>> >> This is easy to get around as part of the mount command. Use these >> options: >> >> loop,context=system_u:object_r:httpd_sys_content_t:s0 > > I figured there was a way to do that but I'm not enough of a selinux > guru yet to figure it out. > > Richard > I am learning myself. In this case, I cheated. I ran ls -d --lcontext /var/www/html and used the context it returned in the mount command context option. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Description: OpenPGP digital signature