Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: bjarni on September 28, 2004, 08:53:28 PM
-
I am trying to use a log analyzer for DansGuardian which I found at: http://www.tiger.org/technology/dg/
I have made an iBay and copied the pl-script into cgi-bin. I made a chmod 777 (root www) on the file.
It trys to open /var/log/dansguardian/access.log, which exists with 644 (root www) permissions, BUT it does not get permission to open the file.
How do I setup permissions on /var/log/dansguardian/access.log so that an iBay-script can look into it?
/bjarni
-
Additional info:
If I copy the file (access.log) from /var/log/dansguardian/ to the iBay and changes the path in the pl-script (to ./) everything works fine.
Why can't the iBay get permission to the log-directory?
-
I solved it myself by changeing permissions on the pl-script:
chmod ogu+s dglog.pl
I don't know if this is the right way, but it works!
/bjarni