Message264917
Hello,
I'm running python 3.5.1 under windows and I've noticed glob.glob is returning incorrect results when I'm using full path name to directory to which I don't have access permissions.
Please consider this:
>> glob.glob('c:\\PerfLog*')
['c:\\PerfLogs']
>> glob.glob('c:\\PerfLogs')
[]
>> glob.glob('c:\\PerfLogs*')
['c:\\PerfLogs']
I tried to replicate this under Linux with "chmod 000", but so far I'm unable to. One more example from Windows: "c:\\System Volume Information". This is also the case for user-created directories where python interpreter does not have access rights to directory - I have one like that on my client's machine. |
|
Date |
User |
Action |
Args |
2016-05-05 19:38:32 | kwarzecha7 | set | recipients:
+ kwarzecha7, paul.moore, tim.golden, zach.ware, steve.dower |
2016-05-05 19:38:31 | kwarzecha7 | set | messageid: <1462477111.96.0.426689886808.issue26968@psf.upfronthosting.co.za> |
2016-05-05 19:38:31 | kwarzecha7 | link | issue26968 messages |
2016-05-05 19:38:31 | kwarzecha7 | create | |
|