Christian Heimes <[email protected]> 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 <[email protected]> <https://bugs.python.org/issue42481> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
