Solved

CHMOD files which have been created by CGI?

Posted on 1997-05-10
3
149 Views
Last Modified: 2013-12-25
I have a set of files in a directory that I want to make read and writeable.

However these files will not respond to any chmodding request and they return: Operation not permitted.

Is this because they were created using a cgi program? How can I overcome this problem?

This is an urgent request.

Thank You.
0
Comment
Question by:Jmz
3 Comments
 

Expert Comment

by:cyber020197
ID: 1827997
Do you get this error message when trying to chmod them at the command prompt.  If so, it's most likely do to the files being owned by user 'nobody', the standard uid for web servers.

If this is the case I've an answer for you.

regards,
scottwimer

0
 
LVL 1

Accepted Solution

by:
Fordream earned 200 total points
ID: 1827998
Have you tried chmodding with CGI? Check following 2 cases.

 First, a case that you tried to chmod file(s) are not owned by nobody. Unless CGI is not setuided, CGI runs without any permittion, expecting nobody's. If so, you can chmod with CGI by giving your CGI some permittions.(changing CGI's owner, setuid-ing your CGI, etc..)

 Second, a case that you made CGI with Perl script. Perl is very secured language. It prohibits many things having security violations. For more informations about perl security, you can find it from man page by typing "man perlsec" in shell prompt. Or I can send you that document if you can't find it.

0
 

Author Comment

by:Jmz
ID: 1827999
Thanks for the suggestions,

I did make the files with perl,

but *how* exactly do I fix it?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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 …
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…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

746 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

14 Experts available now in Live!

Get 1:1 Help Now