[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Setting SELinux context of loop-mounted ISO filesystem
- From: Deron Meranda <deron meranda gmail com>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Setting SELinux context of loop-mounted ISO filesystem
- Date: Mon, 4 Apr 2005 11:02:36 -0400
I'm trying to mount some ISO files using the loop device. However
I can't seem to get the context= option on the mount to work. As
such the mounted files have no SELinux context set. In particular
I'm trying the following,
mount -t iso9660 \
-o context=system_u:object_r:httpd_sys_content_t,loop,ro,noexec,nodev,nosuid
\
/path/to/file.iso /mountpoint
I'm running in enforcing mode with selinux-policy-targeted-1.17.30-2.93
How can one mount an ISO image file and force all files to appear
to have a particular SELinux context?
--
Deron Meranda
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]