diff options
-rw-r--r-- | pym/portage_util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage_util.py b/pym/portage_util.py index baae9544e..1b6adc202 100644 --- a/pym/portage_util.py +++ b/pym/portage_util.py @@ -523,7 +523,8 @@ def apply_permissions(filename, uid=-1, gid=-1, mode=-1, mask=-1, if follow_links: os.chown(filename, uid, gid) else: - os.lchown(filename, uid, gid) + import portage_data + portage_data.lchown(filename, uid, gid) modified = True except OSError, oe: func_call = "chown('%s', %i, %i)" % (filename, uid, gid) |