Message272001
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. |
|
Date |
User |
Action |
Args |
2016-08-04 20:44:42 | jort.bloem | set | recipients:
+ jort.bloem |
2016-08-04 20:44:42 | jort.bloem | set | messageid: <1470343482.28.0.365470977104.issue27687@psf.upfronthosting.co.za> |
2016-08-04 20:44:42 | jort.bloem | link | issue27687 messages |
2016-08-04 20:44:41 | jort.bloem | create | |
|