summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 1fb8bb92f..d7af652c6 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1500,7 +1500,7 @@ class config(object):
"tmp" : (-1, 01777, 0),
"var/tmp" : (-1, 01777, 0),
PRIVATE_PATH : (portage_gid, 02750, 02),
- CACHE_PATH : (portage_gid, 0755, 02)
+ CACHE_PATH.lstrip(os.path.sep) : (portage_gid, 0755, 02)
}
for mypath, (gid, mode, modemask) in dir_mode_map.iteritems():