[issue42481] Add to pathlib function to check permission similar to os.access
Christian Heimes
report at bugs.python.org
Fri Nov 27 06:09:35 EST 2020
Christian Heimes <lists at cheimes.de> added the comment:
A word of warning: os.access() is not a good and sufficient permission check. It only checks DAC (discrete access control) permissions and suffers from TOCTOU issues. Operating systems have additional permission checks and security policies, for example mandatory access control (AppArmor, SELinux, Smack) and seccomp.
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42481>
_______________________________________
More information about the Python-bugs-list
mailing list