Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

PERL, CGI, and WPOISON

Posted on 2004-08-31
2
Medium Priority
?
405 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 1200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to count occurrences of each item in an array.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

704 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