Patches item #1576166, was opened at 2006-10-12 23:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1576166&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Snaury (snaury)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.utime acess denied with directories on win32

Initial Comment:
Try the following code:

>>> import os
>>> os.mkdir('8')
>>> os.utime('8',None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
WindowsError: [Error 13] Access is denied: '8'
>>>

This fix passes correct flags to CreateFile to
successfully open directories (when built with wide
filenames support, in other case native utime is used
and msvcrt has the very same bug).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1576166&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to