[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: some problem with my event dispatcher



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]