[issue26328] shutil._copyxattr() function shouldn't fail if setting security.selinux xattr fails

2020-07-10 Thread Christian Heimes


Christian Heimes  added the comment:

I'm marking this as duplicate of #38893. The other bug has more information.

--
nosy: +christian.heimes
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> broken container/selinux integration

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26328] shutil._copyxattr() function shouldn't fail if setting security.selinux xattr fails

2016-02-11 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +tarek

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26328] shutil._copyxattr() function shouldn't fail if setting security.selinux xattr fails

2016-02-10 Thread Laurent Bigonville

Laurent Bigonville added the comment:

SELinux would block setting the "security.selinux" attribute with EACCES not 
EPERM, so another solution could be to add errono.EACCES to the list

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26328] shutil._copyxattr() function shouldn't fail if setting security.selinux xattr fails

2016-02-10 Thread Laurent Bigonville

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com