HP3000-L Archives

November 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Matt Pereira <[log in to unmask]>
Reply To:
Matt Pereira <[log in to unmask]>
Date:
Thu, 14 Nov 2002 11:44:19 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Hello everyone:
I'm having a problem trying to open a file for reading, using Perl, on an NT
server. If I run the same program on a Unix server, the program runs
perfectly. The problem probably has to do with file permissions. Using a
program like CuteFTP, I find that I am unable to set the file permissions on
the NT server, though I can do so on the UNIX server. Since I can't set file
permissions on the NT server, I'm not sure that I'm reading the existing
permissions correctly either. CuteFTP generates a warning statement that the
CHMOD command for file permissions will not work on all servers. Apparently
this NT server is one of them.
I have no problem uploading files to the NT server. The problem is to
determine what file permissions are enabled. On the UNIX server, the CHMOD
command allows you to view the permission status and change it if necessary
on both a directory basis and an individual file basis. However, the CHMOD
command does not work on the NT server, though it indicates that all file
permissions are enabled.
There is also an ADMIN function on the NT server which allows me to set
global permissions. I went into it and enabled everything. The permissions
may in fact be enabled, as indicated.
The problem I am having is that, when I run a simple Perl test program which
simply opens a file for reading, the open operation fails on the NT server,
though it works perfectly on the UNIX server. I suspect one reason for the
open operation to fail is a lack of read permission on either the directory
or the file, though I suppose the operation could also fail for other
reasons. Since most CGI programs utilize files, I effectively have no CGI
capability on the NT server. I feel that it is my ISP's responsibility to
assist in resolving this problem, but they are apparently unable to do so.
Does anyone have an idea how I can verify file permissions on the NT server
and change them if necessary?

Matt

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2