[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-11-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset d7d4fea4a39da4bfdea1de22fe040023eb4ddc17 by xdegaye in branch 'master': bpo-29181: Skip test_tarfile tests on PermissionError raised by Android (GH-4375) https://github.com/python/cpython/commit/d7d4fea4a39da4bfdea1de22fe040023eb4ddc17 ---

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-11-12 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-11-11 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +4324 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-11-11 Thread Xavier de Gaye
Change by Xavier de Gaye : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-02-03 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- assignee: xdegaye -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch following Serhiy's suggestion in msg285008. -- Added file: http://bugs.python.org/file46233/issue29181_01.patch ___ Python tracker ___

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Why os.link() is failed? If hard links are not supported on Android, > shouldn't os.link be not implemented? Android has a restrictive security model based on SELinux [1]. With the Android adb shell on the emulator at API level 24: $ >foo $ ln foo bar ln: c

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why os.link() is failed? If hard links are not supported on Android, shouldn't os.link be not implemented? tarfile try to make a copy of the referenced file instead of a link if a link can't be created. -- nosy: +serhiy.storchaka ___

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch attached. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file46199/test_tarfile.patch ___ Python tracker __

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-06 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29181] skip tests that raise PermissionError in test_tarfile (non-root user on Android)

2017-01-06 Thread Xavier de Gaye
New submission from Xavier de Gaye: == [339/2616] ERROR: test_link_size (test.test_tarfile.Bz2WriteTest) -- Traceback (most recent call last)