[issue36823] shutil.copytree copies directories and files but fails with that same directory with '[Errno 1] Operation not permitted')

2019-05-07 Thread Ryan Avery
Ryan Avery added the comment: I'm actually not sure what the expected behavior would be, because I can use the os module to copy, rename, and remove files and folders in this mounted File Share. Before encountering this error, I would expect shutil to do the same. But since this error comes up

[issue36823] shutil.copytree copies directories and files but fails with that same directory with '[Errno 1] Operation not permitted')

2019-05-06 Thread Ryan Avery
New submission from Ryan Avery : I am trying to use shutil.copytree on an Azure VM that has Azure FileStorage mounted with SMB 3.0. When I run the following to copy directories from one location on my Azure File Storage to another location on my File Storage, the whole directory