public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: audit + php-fpm
Date: Mon, 07 Oct 2013 14:45:18 -0400	[thread overview]
Message-ID: <2242932.PdUC1KIZB0@x2> (raw)
In-Reply-To: <CAF-bHvo7co6d_5H+qR_sSZHdhUw7__xwAK1LtNEi9WaXUmmwtQ@mail.gmail.com>

On Sunday, October 06, 2013 12:45:05 AM ja ja wrote:
> Auditd can't catch changes make by php-fpm, when I use bash everything
> works fine but when I use script like this :
>  <?php
> mkdir('kat123');
> ?>
> audit.log show nothing
> This is my audit.rules :
> -a exit,never -F dir=/var/www/temp/
> -a exit,always -F dir=/var/www/ -F perm=wa -k www
> How does PHP-FPM alter a file and escape detection by auditd? Is this
> auditd bug.

Not knowing anything about php-fpm...is there any chance that the content it 
accesses is outside of /var/www? Do you have any mount points or symlinks 
somewhere in the /var/www/ directory tree?

-Steve

      reply	other threads:[~2013-10-07 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05 22:45 audit + php-fpm ja ja
2013-10-07 18:45 ` Steve Grubb [this message]

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=2242932.PdUC1KIZB0@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox