[New-bugs-announce] [issue28759] access to mkfifo, mknod and hard links is controled by SELinux MAC on Android

Xavier de Gaye report at bugs.python.org
Mon Nov 21 03:12:55 EST 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue28759>
_______________________________________


More information about the New-bugs-announce mailing list