Solved

PERL, CGI, and WPOISON

Posted on 2004-08-31
2
404 Views
Last Modified: 2013-12-25
My question is related to implementing a cgi script written in perl.  This will run on an apache server.  Information about this script can be found at http://www.monkeys.com/wpoison/

The script file on my site can be found at www.certifiedcomputing.com/users/users.gms .  I have set ".gms" to be handled as a perl extension on the server.

My problem is that every time I attempt to run the script, I get the following error:
wpoison: Error unlinking file `/tmp/wpoison.words': Operation not permitted

Can anyone lend a hand with this one?
0
Comment
Question by:Steve3k
[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
2 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 300 total points
ID: 11947660
I had a look at the source for wpoison and it is generally very well written (although I can see a few C'isms creeping in).

The error you are receiving is coming from the operating system.  It appears that /tmp on your system has unusual permissions.

Do you have command line access?  If not, try running the following script

#!/bin/sh
echo "Content-Type: text/plain"
echo
ls -ld /tmp
df
0
 
LVL 1

Author Comment

by:Steve3k
ID: 11948071
Cool!  You turned me on to the right track.  Apparently my host has a problem with people running this script.  I changed the name of the files the script creates, and it now runs like a champ.  ::happy dance::

Thanks a lot!
0

Featured Post

Congratulations! You’re Certified – Now What?

Starting a new career can be overwhelming. Becoming certified in your field of expertise is a great start, but where do you go from here?  Here are some tips to help you on your career journey.

Question has a verified solution.

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

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
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.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

623 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