From: Daniel J Walsh <dwalsh@redhat.com>
To: Bernd Bartmann <bernd.bartmann@gmail.com>
Cc: SELinux@tycho.nsa.gov
Subject: Re: RHES4, Subversion, Apache and SElinux
Date: Thu, 15 Dec 2005 18:18:52 -0500 [thread overview]
Message-ID: <43A1F9DC.3010205@redhat.com> (raw)
In-Reply-To: <6c18a4f0512151401p3948e810g5bec34eabbce522c@mail.gmail.com>
Bernd Bartmann wrote:
> Hi,
>
> I try to setup some Subversion repositories using Apache on a RHES4
> server. Now I'm running into a problem with Apache and SElinux.
>
> My SVNParentPath is set to /data/Devel/SVN/repos. /data is on
> /dev/md5. I already followed the "How do I set repository permissions
> correctly?" FAQ from http://subversion.tigris.org/faq.html and issued
> a "chcon -R -h -t httpd_sys_content_t /data/Devel/SVN/repos/", but
> whenever I try to access the contents of my Subversion repo I this in
> /var/log/messages:
>
> avc: denied { search } for pid=10337 comm="httpd" name="/" dev=md5
> ino=2 scontext=root:system_r:httpd_t tcontext=system_u:object_r:file_t
> tclass=dir
>
> Any ideas?
>
> Thanks in advance,
> Bernd.
>
>
> --
> 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.
>
file_t indicates that the file system was never labeled.
try chcon -R -t httpd_sys_content_t /data
to label the entire tree.
--
--
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.
next prev parent reply other threads:[~2005-12-15 23:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 22:01 RHES4, Subversion, Apache and SElinux Bernd Bartmann
2005-12-15 22:57 ` Tobias Nijweide
2005-12-15 23:18 ` Daniel J Walsh [this message]
2005-12-15 23:26 ` Bernd Bartmann
2005-12-15 23:29 ` Daniel J Walsh
2005-12-15 23:37 ` Bernd Bartmann
2005-12-16 0:23 ` Johan Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43A1F9DC.3010205@redhat.com \
--to=dwalsh@redhat.com \
--cc=SELinux@tycho.nsa.gov \
--cc=bernd.bartmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.