• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

Perl CGI on Netware - Can Not Create A Text File

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?
  • 2
1 Solution
qacomtekAuthor Commented:
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
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.
qacomtekAuthor Commented:
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 http://developer.novell.com/ndk/doc/perl/prl57enu/data/aedqnqd.html

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now