[issue1438480] shutil.move raises OSError when copystat fails

2021-12-26 Thread Daniel Diniz


Change by Daniel Diniz :


--
keywords:  -easy
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.3

___
Python tracker 

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



[issue1438480] shutil.move raises OSError when copystat fails

2019-12-11 Thread Eshan Singhal


Eshan Singhal  added the comment:

Amending shutil.copy and shutil.copy2 to expose a method of ignoring the 
permission errors rather than changing the current behaviour would not fix the 
original issue without further changes in consumers of these functions to pass 
through the new parameter (i.e. shutil.move in this scenario).

This may be undesirable as copy_function is an optional parameter to 
shutil.move and so there would have to be a specialcase guard/check to see if 
the copy_function is shutil.copy or shutil.copy2 when passing in a new 
ignore_permission_errors parameter.

I propose a new issue to track adding functionality to optionally ignore 
permission issues for shutil.copy/shutil.copy2, and this issue can remain open.

--
nosy: +eshan-singhal

___
Python tracker 

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



[issue1438480] shutil.move raises OSError when copystat fails

2019-06-02 Thread Jeffrey Kintscher


Change by Jeffrey Kintscher :


--
nosy: +Jeffrey.Kintscher

___
Python tracker 

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



[issue1438480] shutil.move raises OSError when copystat fails

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue1438480] shutil.move raises OSError when copystat fails

2014-06-28 Thread Mark Lawrence

Mark Lawrence added the comment:

The patch would need changing to allow for the follow_symlinks parameter and 
the backward compatibility issues mention in msg141827.  Do we wait for an 
updated patch, close as won't fix or what?

--
nosy: +BreamoreBoy

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



[issue1438480] shutil.move raises OSError when copystat fails

2011-08-09 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

 In my opinion, anyone wanting to deal with low-level details like
 mtimes and modes is probably not using shutil

As a moderately experienced UNIX user, I would say that file permissions are 
not low-level details.  I see shutil functions as convenient wrappers to 
automate looping and calling a function, but I do care about file permissions.

If people are still interested in this modification, I think it would need a 
backward-compatible change, for example in the form of a new argument 
ignore_permission_errors, or a more generic onerror callback like rmtree has.

--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1438480
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1438480] shutil.move raises OSError when copystat fails

2010-08-26 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
stage: unit test needed - patch review
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1438480
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1438480] shutil.move raises OSError when copystat fails

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +easy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1438480
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1438480] shutil.move raises OSError when copystat fails

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1438480
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com