Message124500
access(2) can return errnos that correspond to input errors or general system faults, such as EINVAL, EIO or ENOMEM. In this case, an exception should be raised instead of returning False.
It is probably best to whitelist those errnos that indicate missing access -- it needs to be discussed whether that is just EACCES, or also e.g. ENOENT. |
|
Date |
User |
Action |
Args |
2010-12-22 12:45:10 | georg.brandl | set | recipients:
+ georg.brandl |
2010-12-22 12:45:10 | georg.brandl | set | messageid: <1293021910.31.0.818314214299.issue10758@psf.upfronthosting.co.za> |
2010-12-22 12:45:08 | georg.brandl | link | issue10758 messages |
2010-12-22 12:45:08 | georg.brandl | create | |
|