New submission from Laurent Bigonville:

Hi,

In the _copyxattr() function from the shutil module, the function throw an 
exception as soon as the copy of an attribute is failing.

But setting the "security.selinux" xattr will likely fail if selinux is 
enforcing more.

If this function is supposed to behave like cp -a, failing to set the 
security.selinux xattr shouldn't be fatal


See: https://bugs.python.org/issue14082 and https://bugs.python.org/msg157903

----------
components: Library (Lib)
messages: 260009
nosy: bigon
priority: normal
severity: normal
status: open
title: shutil._copyxattr() function shouldn't fail if setting security.selinux 
xattr fails
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26328>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to