New GitHub issue #121524 from Crivella:<br>
<hr>
<pre>
# Bug report
### Bug description:
When running `shutil.copytree` on a lustre filesystem with a source dir containing files with 440 permissions, `os.setxattr` fails with permission denied.
This seems to be related to #68726.
The file are copied with the original read-only permission and the copy/setting of extended attributes is failing afterwards
### CPython versions tested on:
3.11
### Operating systems tested on:
Linux
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/121524">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>