Message6567
Try to copy a directory using shutil.copytree, and you lost all the permission on the new directory.
You don't have permission on it.
Test Case :
import shutil
dir = '/tmp/output1'
to = '/tmp/copy'
import os
os.makedirs(dir)
shutil.copytree(dir,to)
print "Copy using copyTree %s to %s " %(dir,to)
It's impossible to go on the to director ('Permission denied') |
|
Date |
User |
Action |
Args |
2011-07-13 15:36:35 | pbourachot | set | recipients:
+ pbourachot |
2011-07-13 15:36:35 | pbourachot | set | messageid: <1310571395.07.0.719144934711.issue1769@psf.upfronthosting.co.za> |
2011-07-13 15:36:34 | pbourachot | link | issue1769 messages |
2011-07-13 15:36:34 | pbourachot | create | |
|