New submission from Xavier de Gaye: List of the tests that fail with PermissionError when run as a non-root user on an Android emulator (API 24) and fixed by this patch: test_posix test_shutil test_stat test_genericpath test_ntpath test_posixpath test_macpath test_eintr test_pathlib Android uses SELinux mandatory access control (MAC), see: https://source.android.com/security/selinux/ Android commit message that does not grant hard link capabilities by default: https://android.googlesource.com/platform/external/sepolicy/+/85ce2c7
---------- assignee: xdegaye components: Tests files: android_not_root.patch keywords: patch messages: 281329 nosy: xdegaye priority: normal severity: normal stage: patch review status: open title: access to mkfifo, mknod and hard links is controled by SELinux MAC on Android type: behavior versions: Python 3.6, Python 3.7 Added file: http://bugs.python.org/file45577/android_not_root.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28759> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com