Message382794
I have created a new PR that introduces preserve_security_context argument and changes the default behavior of copy operations. All copy operations behave now similar to "cp -p --preserve=xattr" by default. copy2(src, dst, preserve_security_context=True) restores the old, problematic behavior that is similar to "cp -p --preserve=xattr,context".
It's not completely equivalent because I decided to omit all attributes in the restricted "security" xattr namespace. coreutils only handles "security.selinux" on an SELinux enabled system differently. |
|
Date |
User |
Action |
Args |
2020-12-09 15:30:04 | christian.heimes | set | recipients:
+ christian.heimes, hynek, Leif Middelschulte, ensc2 |
2020-12-09 15:30:04 | christian.heimes | set | messageid: <1607527804.33.0.0227213253377.issue38893@roundup.psfhosted.org> |
2020-12-09 15:30:04 | christian.heimes | link | issue38893 messages |
2020-12-09 15:30:04 | christian.heimes | create | |
|