nagivreddy93 has asked for the wisdom of the Perl Monks concerning the following question:
I have given a 777 permission for file (-rwxrwxrwx 1 nagios nagios 75 May 2 13:27 set_bpi_perms.sh), when I run the program on Console (terminal), it's works perfectely but in the web(cgi) it's not working properly.
below are the users and group access permissions:
/etc/group file
nagios:x:500:
apache:x:501:
nagcmd:x:502:apache,nagios
Below is the error displaying when i run in cgi program:
File bpi.conf is not writable! Please execute the following commands as the root user to set correct permissions:
cd /usr/local/nagios/share/nagiosbpi
chmod +x set_bpi_perms.sh
./set_bpi_perms.sh
and bpi.conf file also having a 777 permission
The code is working perfectely on other servers, i have deployed a code on new server it's getting error messages
Please let me know your ideas on this ..
Thanks
Reddy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File Permission problem on perl -cgi program
by Anonymous Monk on May 04, 2011 at 07:22 UTC | |
|
Re: File Permission problem on perl -cgi program
by Anonymous Monk on May 04, 2011 at 10:39 UTC | |
|
Re: File Permission problem on perl -cgi program
by scorpio17 (Canon) on May 05, 2011 at 14:42 UTC | |
by nagivreddy93 (Novice) on May 09, 2011 at 09:51 UTC |