[IronPython] Write permissions

Michael Foord fuzzyman at voidspace.org.uk
Thu Jul 8 13:38:48 CEST 2010


On 08/07/2010 09:37, Rob Brown-Bayliss wrote:
> Hi
>
> I have begun playing with ironpython and wpf.  I come from a python on
> linux with gtk+ background.
>
>
> I have a problem with vista and trying to open a log file via the
> logging module:  Access to the path 'C:\log.txt' is denied.
>
>    

Writing to C: in Vista and Windows 7 requires elevated permissions so 
your application will require admin privileges. Can you not choose 
another location to write to (one of the user folders)?

Michael



> I expect this will bite me a lot on vista, but it works on xp.  Can
> some one point me in the right direction with regards to user
> permissions etc?
>
> Thanks
>
>    


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.





More information about the Ironpython-users mailing list