Set permissions?

Posted on 2001-06-16
Last Modified: 2013-12-25

A part of it says...

34. How do I use CGI?
You create a folder in your "public_html" folder called cgi-bin and set the permissions to allow execution of CGIs.

Do you know how to set the permission of the directory to allow the execution of CGIs?
Question by:superquestions

Expert Comment

ID: 6198659

Please do not use a link for the title of a question it makes it impossible for the experts to access the body of the question.  I have edited the title and moved the link into the text of the question.

Community Support Moderator

Expert Comment

ID: 6199059
thanks for the info, teacher_mod:  that is neat, I will remember :)


for 1:
"but whenever possible avoid making directories world writable, readable and executable, as this messes up the system."
--this does not inspire confidence...I suggest you don't mention it.

also, as per your question...

I don't think you have to...but you can always set it to chmod 755 dirname

but...if you are having trouble running any cgi then you need to create the directory as a scriptAlias...

a user GorGor2 has a question open about just this.  I suggest you check it out if this is indeed the would be a server misconfig.

LVL 16

Expert Comment

ID: 6654387

Did you get the solution you were looking for?

What solution, if any, did you use?

If you have already found a solution, please go ahead and close this question.

LVL 16

Accepted Solution

maneshr earned 50 total points
ID: 6697103

Did you get the solution you were looking for?

What solution, if any, did you use?

If you have already found a solution, please go ahead and close this question.


Expert Comment

ID: 6697263
No response to update requests, finalizing today.  If Asker returns with additional need related to this question, please step back in to complete this collaboration effort.

Community Support Moderator @ Experts Exchange

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading variable length EBCDIC in SAS 9 98
get remote physical servers and platforms 5 51
exchange, scripts 3 61
help with PowerShell script for registry permissions 8 53
Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at (http://www.experts-ex…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now