It's run as Administrator. The problem here is why it behaves differently when in debug mode or interactive shell than in the non-debug mode?
-----Original Message----- From: python-list-bounces+kevin.jingqiu=caseware....@python.org [mailto:python-list-bounces+kevin.jingqiu=caseware....@python.org] On Behalf Of Jerry Hill Sent: Tuesday, January 13, 2009 11:43 PM To: python-list (General) Subject: Re: Weird behaviour re: Python on Windows On Tue, Jan 13, 2009 at 5:29 PM, Kevin Jing Qiu <kevin.jing...@caseware.com> wrote: > I've been experiencing weird behavior of Python's os module on Windows: > > Here's the environment: > Box1: Running Windows 2003 Server with Apache+mod_python > Box2: Running Windows 2003 Server with Zope/Plone and Z:\ mapped to D:\ > on Box1 > > It appears any os calls that deals with file/dir on the mapped drive is > problematic. What user is this running as? By any chance is it running as the Local System user? If so, that user has no network privileges, including to mapped drives. -- Jerry -- http://mail.python.org/mailman/listinfo/python-list -- Click the link below to report this message as spam to Caseware E-Mail Security Server ESVA. http://esva3.caseware.com/cgi-bin/learn-msg.cgi?id=404585D8606.052FD -- http://mail.python.org/mailman/listinfo/python-list