some problem with my event dispatcher

Steve Grubb sgrubb at redhat.com
Mon Dec 17 13:46:57 UTC 2007


On Monday 17 December 2007 03:10:46 Abhishek Gupta wrote:
> +        fp=fopen("tempfile.txt","w+");
> +        fwrite((char*)data,sizeof(char),30,fp);
> +        fclose(fp);

What directory is your dispatcher using for cwd? Try giving a full path to a 
directory it is allowed to write in. There are no restrictions on where the 
dispatcher can write unless selinux policy prevents it. That is easily 
checked by trying "setenforce 0". 

-Steve




More information about the Linux-audit mailing list