in reply to Problem loading CGI files

What do you get when you run

sudo -u www-data ls -l /usr/lib/apache2/webdb/WebDB.pm

Replies are listed 'Best First'.
Re^2: Problem loading CGI files
by Pr0t0n (Novice) on Jun 03, 2009 at 00:06 UTC
    I get this error while I am in root:
    root@Black-Cell:/usr/lib/apache2# sudo -u www-data ls -l /usr/lib/apac +he2/webdb/WebDB.pm ls: cannot access /usr/lib/apache2/webdb/WebDB.pm: Permission denied


    After I got this error I checked the rights of the script and that's set to 0755.
      I checked the rights of the script and that's set to 0755

      Check the permissions of the directories, too...

        Man you saved my day, it really was a permission problem. I thought the problem was in the permission of WebDB.pm and after all it was the directory itself, thanks I won't make this mistake again.

        Greetz,
        Pr0t0n