diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-20 18:10:57 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-20 18:10:57 +0200 |
commit | c3b568fbc106e3eeab41de7ac07bce683541549b (patch) | |
tree | c52575219e3777e9b792564353399638d8c4b300 /module/plugins/Plugin.py | |
parent | chown fix (diff) | |
download | pyload-c3b568fbc106e3eeab41de7ac07bce683541549b.tar.xz |
fixed...
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |