-----BEGIN PGP SIGNED MESSAGE-----
On 09/09/2010 07:46 AM, Chris Lopes wrote:
I am using selinux under Fedora 10 (18.104.22.168).
I have Apache httpd running, and I would like it to be able to serve requests
for files which are on a mounted NTFS volume.
First off, please update to a Fedora Release that is supported F12, F13,
I have tried to mount the volume with an appropriate context:
mount -o context=system_u:object_r:httpd_sys_content_t:s0 /dev/somedevice
But the resulting context on files within the mount is
Open a bug on this, again on an OS that is
I would just add allow rules using audit2allow for now.
# grep http /var/log/audit/audit.log | audit2allow -M myhttp
# semodule -i myhttp.pp
The mount itself doesn't generate any noteworthy warnings/errors
in my logs.
So of course seliux disallows apache to read the files and generates
corresponding denials in my logs.
No other partition on this device is already mounted.
Is this a known bug?
Others seem to have similar issues:
I guess an alternative is to create a policy that tells selinux to allow httpd
to read fuse files, as is described here:
selinux mailing list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----