Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Apache CGI permission denied errno = (13)

Posted on 1998-06-05
3
Medium Priority
?
1,102 Views
Last Modified: 2013-12-25
Just upgraded the apache web server to:

Server version Apache/1.2.5 Ben-SSL/1.13 FrontPage/3.0.3.

Scripts that work fine will the old apache server now
fail with the error:

exec of /home/aande/htdocs/cgi.bin/formp.cgi failed, reason: Permission denied (errno = 13)

This only seems to happen with users running their
cGI scripts, they work fine if run out of a non user
directory as root.  The *.conf files between the two
versions are the same except for the SSL and Frontpage
info.  We are also trying to use suexec.  

Any ideas what may be causing this?

Regards,

Robert hardesty
hardesty@hardlink.net
0
Comment
Question by:rhardesty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1829416
Are you sure the new installed version runs with enough privileges to exec your scripts?

-julio
0
 
LVL 1

Accepted Solution

by:
RoboBob earned 200 total points
ID: 1829417
Permission denied means that the user the web server is running as doesnt have the access rights to run the script, make sure that the old and new version are both running as the same user (if you ran the old version as root and the new version as www, then the scripts will all need their permissions fixed so that they can run as www, or you will need to run the new server as root).  If NONE of the scripts work, it could be that the server has access to the file, but not to one of the directories above it, try su-ing to the user the web server is running as, and running the script from the command line, if you get permission denied, then try changing to each directory in turn (i.e. cd to /home and if that works then cd to /home/aande) until you figure out which directory has the wrong permissions.
0
 
LVL 7

Expert Comment

by:jconde
ID: 1829418
Hi, you need to check you the access.conf file for permission privileges!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question