From c3b568fbc106e3eeab41de7ac07bce683541549b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 20 Sep 2010 18:10:57 +0200 Subject: fixed... --- module/plugins/Plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index c623b90cc..987305d17 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -279,8 +279,8 @@ class Plugin(object): if self.core.config["permission"]["change_user"] and self.core.config["permission"]["change_group"]: try: - uid = getpwnam(self.config["permission"]["user"]) - gid = getgrnam(self.config["permission"]["group"]) + uid = getpwnam(self.config["permission"]["user"])[2] + gid = getgrnam(self.config["permission"]["group"])[2] chown(join(location, name), uid, gid) except Exception,e: -- cgit v1.2.3