New submission from Tim Golden <[EMAIL PROTECTED]>: At present, os.access under Windows simply calls GetFileAttributes to determine the readonly attribute (ignoring directories). The patch attached combines this with the use of the AccessCheck API to compare the user's permissions with those required for the path.
I'm assuming that ATTRIB and CACLS will be available for use in the unit tests included. I haven't altered the structure of the posix_access function at all although I suspect that it could now be simplified now that we're not supporting Win9x. ---------- components: Library (Lib) files: os_access-r62091.patch keywords: patch messages: 64811 nosy: tim.golden severity: normal status: open title: Change os.access to check ACLs under Windows versions: Python 2.6 Added file: http://bugs.python.org/file9919/os_access-r62091.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2528> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com