Perl CGI on Netware - Can Not Create A Text File

Posted on 2005-05-10
Last Modified: 2013-12-25
I have created a script that will take user input and write it to a text file. This works correctly on both a Windows machine running IIS and on a Unix machine running Apache. However, when we run this script on NetWare it will do one of two things depending on where we tell the script to write the text file.

1) If we tell the script to write the text file to a NetWare Volume like WEB: or SYS:, the script will execute all the way, but it won't make the file.

2) If we tell the script to write the text file to the dos C: volume on the server's hard drive, the script will execute all the way and it will make the file, but will not put any data into it.

We think it may be a rights issue on the server because it works on the other platforms. We have looked around but can't seem to find anything.

Do you have any suggestions?
Question by:qacomtek

    Author Comment

    Our version of NetWare is 6.5

    According to the property box, our version of PERL.NLM appears to be:
    Version 3.20.02 Friday, March 19, 2004
    Copyright (C) 2000-01, 2003 Novell, Inc. All Rights Reserved.
    Perl 5.8.0 - Script interpreter for NetWare

    According to the property box, our version of PERLCGI.NLM appears to be:
    Version 1.00.00 Wednesday, January 14, 2004
    Copyright (C) 2003  Novell, Inc.  All Rights Reserved.
    Perl: Apache2 CGI Interface Module
    LVL 51

    Accepted Solution

    this is a netware permission problem
    you need to tell the volumes that the user running your web server and the cgi has write permission to the directory you specified in your CGI. IIRC Netware can hand down permissions allong the directory tree, so check all permissions from root down to where you want to write.

    Author Comment

    Thanks for the help!

    We ended up finding a Novell doc that fixed the problem.Thanks for leading us toward the right idea. We found a document that would allow NDS authentication.

    Check out

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
    This article will show, step by step, how to integrate R code into a R Sweave document
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    759 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

    12 Experts available now in Live!

    Get 1:1 Help Now