Propper labeling of files under /var/www

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

 



How do you label files under /var/www? I created a policy with the
following context

/var/www/wiki(/.*)?
gen_context(system_u:object_r:httpd_wiki_script_ro_t,s0)

Loaded the policy and relabeled /var/www but the context
of /var/www/wiki is still httpd_sys_content_t. Checked the
file /etc/selinux/targeted/contexts/files/file_contexts twice and the
entry for /var/www/wiki exists (it's under the /var/www entry). The
relabel was done via fixfiles and restorecon and even a reboot
(touch /.autorelabel).

I'm out of ideas ;-) Any suggestions?

Best regards
Stefan

PS: I'm using Fedora 7 (latest updates) with the targeted policy
(2.6.4-61.fc7)


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux