[issue24564] shutil.copytree fails when copying NFS to NFS

2019-09-09 Thread Michael Burt
Michael Burt added the comment: This is still a problem when shutil gets a errno.ENOSYS I hit this bug on Microsoft Azure when I mount an Azure File (managed NFS) into an AKS cluster (managed Kubernetes offering) and try to copy a file from the NFS over to the local disk on the node using

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-30 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset f1487b323549e2360460383b4304f6592fb38e27 by Giampaolo Rodola (Miss Islington (bot)) in branch '3.7': bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +13562 pull_request: https://github.com/python/cpython/pull/13673 ___ Python tracker ___

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset a16387ab2d85f19665920bb6ff91a7e57f59dd2a by Giampaolo Rodola (Ying Wang) in branch 'master': bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-18 Thread Cheryl Sabella
Cheryl Sabella added the comment: Nosying Hynek and Larry, as they had done the original code. -- nosy: +cheryl.sabella, hynek, larry versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-16 Thread Ying Wang
Change by Ying Wang : -- keywords: +patch pull_requests: +13279 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-08 Thread hans.meine
hans.meine added the comment: I completely agree with msg322848, both with the suggested fix and with its rationale. A future API improvement could be to have a "strict" mode where errors copying xattr are not silently ignored anymore (if there are src xattr, but they cannot be written, or

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-10-17 Thread Charlie Dyson
Change by Charlie Dyson : -- nosy: +cdyson37 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-08-02 Thread desbma
desbma added the comment: > Since the `copy_function` is customizable to switch between `copy` and > `copy2`, making copystat optional on files, perhaps the `copystat` should be > optional on directories, as well. Related: https://bugs.python.org/issue32073 -- nosy: +desbma

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-08-01 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: [ https://bugs.python.org/issue24564#msg246278 ] > Adding `EINVAL` to the ignored errnos would fix the problem, but might hide > real failures (I'm not sure about the real failures, but it seems logical). I think this is an acceptable compromise

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-07-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue24564] shutil.copytree fails when copying NFS to NFS

2017-10-25 Thread Albert Zeyer
Albert Zeyer added the comment: I'm also affected by this, with Python 3.6. My home directory is on a ZFS-backed NFS share. See here for details: https://github.com/Linuxbrew/homebrew-core/issues/4799 Basically: Copying setuptools.egg-info to

[issue24564] shutil.copytree fails when copying NFS to NFS

2016-11-04 Thread Gabriel Devenyi
Gabriel Devenyi added the comment: I'm running into this issue with python 3.5 and a ZFS-backed NFS4 mount. Strace of a setuptools install: chmod("/opt/quarantine/pydpiper/2.0/build/lib/python3.4/site-packages/pydpiper-2.0-py3.4.egg", 0644) = 0 listxattr("dist/pydpiper-2.0-py3.4.egg",

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread Min RK
Min RK added the comment: On a bit of further investigation, the NFS files have an xattr `system.nfs4_acl`. This can be read, but attempting to write it fails with EINVAL. Attempting to copy from NFS to non-NFS fails with ENOTSUP, which is caught and ignored, but copying from NFS to NFS

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread Jess Hamrick
New submission from Jess Hamrick: shutil.copytree seems to fail when copying files across NFS filesystems. In this example (see bug_demo.py), /tmp is a normal ext4 filesystem and the current working directory is NFS (version 4). Interestingly, it works fine to to copy between ext4 and NFS,

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread Jess Hamrick
Jess Hamrick added the comment: Some further information: if I run copystat directly on 3.4.3, I get essentially the same error as on 3.4.0. So really it only looks like the difference is just in how the error is reported: Traceback (most recent call last): File bug_demo.py, line 31, in

[issue24564] shutil.copytree fails when copying NFS to NFS

2015-07-04 Thread R. David Murray
R. David Murray added the comment: There are a number of open issues with copytree originating from copystat. It would be great if someone could pull them all together and propose a solution. Making it optional might indeed be the best solution. -- nosy: +r.david.murray