projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b332b
)
Fix: change os.mkdir to os.makedirs in case of there are more than one directory...
author
Mounir Lamouri
<volkmar@gentoo.org>
Sat, 30 Jan 2010 22:35:30 +0000
(22:35 -0000)
committer
Mounir Lamouri
<volkmar@gentoo.org>
Sat, 30 Jan 2010 22:35:30 +0000
(22:35 -0000)
According to docs.python.org, permissions may be not respected with os.makedirs... with some systems.
svn path=/main/trunk/; revision=15293
pym/portage/cache/fs_template.py
patch
|
blob
|
history
diff --git
a/pym/portage/cache/fs_template.py
b/pym/portage/cache/fs_template.py
index 7cd8af4d7c220999148a7ddd274f93e012546b9b..9ca0c9dc250bb2c25973da40a2940d57a7f5545c 100644
(file)
--- a/
pym/portage/cache/fs_template.py
+++ b/
pym/portage/cache/fs_template.py
@@
-72,7
+72,7
@@
class FsBased(template.database):
if perms == -1:
perms = 0
perms |= 0o755
- os.m
kdir
(base, perms)
+ os.m
akedirs
(base, perms)
if self._gid != -1:
os.chown(base, -1, self._gid)
finally: