From: Pascal Hahn <p.hahn@laufwerka.de>
Cc: SELinux@tycho.nsa.gov
Subject: Re: apache rule to make it write in directory
Date: Fri, 25 Jun 2004 08:35:30 +0200 [thread overview]
Message-ID: <40DBC7B2.3040001@laufwerka.de> (raw)
In-Reply-To: <200406250032.49303.russell@coker.com.au>
Russell Coker schrieb:
>On Thu, 24 Jun 2004 22:37, Pascal Hahn <p.hahn@laufwerka.de> wrote:
>
>
>>I got the problem that my apache2 under selinux running on gentoo linux is
>>not able to write to a certain directory under htdocs which i need to be
>>writable.
>>
>>I need a rule to make it write in that directory but didnt find a
>>possibility to do so by now.
>>
>>Perhaps someone can help me out here.
>>
>>
>
>Please show us the AVC messages from the access that is denied and then it
>should be easy to demonstrate how to customise the policy to do what you
>require.
>
>
>
heres my output i get from avc messages:
/Jun 16 13:39:36 lboxx avc: denied { write } for pid=3161
exe=/usr/sbin/apache2 path=/var/www/localhost/lwa/infos/auth.tmp
dev=hdc6 ino=96389 scontext=system_u:system_r:httpd_t
tcontext=system_u:object_r:httpd_sys_content_t tclass=file
Jun 16 16:22:16 lboxx avc: denied { write } for pid=3215
exe=/usr/sbin/apache2 name=infos dev=hdc6 ino=96403
scontext=system_u:system_r:httpd_t
tcontext=system_u:object_r:httpd_sys_content_t tclass=dir/
--
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:[~2004-06-25 6:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-24 12:37 apache rule to make it write in directory Pascal Hahn
2004-06-24 14:32 ` Russell Coker
2004-06-25 6:35 ` Pascal Hahn [this message]
2004-06-25 7:51 ` Russell Coker
-- strict thread matches above, loose matches on Subject: below --
2004-06-30 10:24 Pascal Hahn
2004-06-30 10:41 Pascal Hahn
2004-06-30 14:27 ` Russell Coker
2004-07-01 11:32 ` Pascal Hahn
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=40DBC7B2.3040001@laufwerka.de \
--to=p.hahn@laufwerka.de \
--cc=SELinux@tycho.nsa.gov \
/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.