From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: audit + php-fpm Date: Mon, 07 Oct 2013 14:45:18 -0400 Message-ID: <2242932.PdUC1KIZB0@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.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 : > 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