[Python-bugs-list] [ python-Bugs-571167 ] glob() fails for network drive in cgi
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 27 Jun 2002 18:19:55 -0700
Bugs item #571167, was opened at 2002-06-20 01:29
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=571167&group_id=5470
Category: Python Library
Group: Python 2.1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Schuweiler (bshoe282)
>Assigned to: Mark Hammond (mhammond)
Summary: glob() fails for network drive in cgi
Initial Comment:
glob.glob() does not work when globbing a network
mapped drive while running as a cgi script. The method
works fine when run as a normal python script (even for
mapped drives), but does not work when run from a
browser as a cgi script. The glob returns an empty list
as if the drive just isn't there.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2002-06-28 11:19
Message:
Logged In: YES
user_id=14198
Assuming Windows.
This is almost certainly a permissions problem. The IIS
server does not run CGI as a "regular" user, but as the
"system user". The system user has no permissions to access
network resources, hence your problem.
Thus, this is not a Python problem. You need to check the
IIS docs to see how, or even if, you can loosen the
permissions (and assuming you understand the implications of
doing so).
Unless i hear back in a few days that there is another
problem I will close this as invalid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=571167&group_id=5470