Re: cgi data file permission problem

2006-11-22 Thread Aharon Schkolnik
Thanks for the help. It is in fact a selinux problem. I may not pursue the issue any further, because I may be dropping the whole project for other reasons. On Wednesday 22 November 2006 5:28 pm, Valery Reznic wrote: > You may need to set selinux attribute (with chcon) for > the file you ar

Re: cgi data file permission problem

2006-11-22 Thread Valery Reznic
You may need to set selinux attribute (with chcon) for the file you are about to open. If you are open file for writing you may want to use 'httpd_sys_script_rw_t' on both file and it's parent directory, for reading - httpd_sys_script_ro_t for file Valery. --- Aharon Schkolnik <[EMAIL PROTECTED]>

Re: cgi data file permission problem

2006-11-22 Thread Gabor Szabo
On 11/22/06, Aharon Schkolnik <[EMAIL PROTECTED]> wrote: Hi. I am trying to set up http://www.dynamicnetworks.us/netflow/10-cugrapher.html There is a perl program which resides in /var/www/cgi-bin. So far, so good. The program needs to open data files: opendir( DIR, $rrddir ) or &browserDie("

cgi data file permission problem

2006-11-22 Thread Aharon Schkolnik
Hi. I am trying to set up http://www.dynamicnetworks.us/netflow/10-cugrapher.html There is a perl program which resides in /var/www/cgi-bin. So far, so good. The program needs to open data files: opendir( DIR, $rrddir ) or &browserDie("open $rrddir failed ($!)"); This generates the error: ope