All of lore.kernel.org
 help / color / mirror / Atom feed
* Propper labeling of files under /var/www
@ 2007-12-18 18:45 Stefan Schulze Frielinghaus
  2007-12-18 18:55 ` Stephen Smalley
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Schulze Frielinghaus @ 2007-12-18 18:45 UTC (permalink / raw)
  To: selinux

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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-20  8:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 18:45 Propper labeling of files under /var/www Stefan Schulze Frielinghaus
2007-12-18 18:55 ` Stephen Smalley
2007-12-19 10:13   ` Stefan Schulze Frielinghaus
2007-12-19 14:12     ` Stephen Smalley
2007-12-19 15:05       ` Daniel J Walsh
2007-12-19 15:29         ` Stephen Smalley
2007-12-20  8:43       ` Stefan Schulze Frielinghaus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.