Solved

CHMOD files which have been created by CGI?

Posted on 1997-05-10
3
150 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

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