New submission from jort bloem:

When using shutil.move() between mounts (i.e. when it does a copy/delete), 
running as root, ownership should be maintained.

To test: log in as root, create a file owned by a regular user. In python, use 
shutil.move() to move it to another mountpoint. Check that the ownership of the 
moved file is the same as the ownership of the original file.

----------
components: Library (Lib)
messages: 272001
nosy: jort.bloem
priority: normal
severity: normal
status: open
title: Linux shutil.move between mountpoints as root does not retain ownership
type: behavior
versions: Python 2.7, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27687>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to