From 4b54339b72f301515ed2b67b116b1fdf6b427e37 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 27 Jun 2017 15:30:34 -0600 Subject: [PATCH] Opps, changed to use the int value of uid and gid, not looking up the int value and then converting to int. Does not make sense. --- moveSeasoned.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moveSeasoned.py b/moveSeasoned.py index 923cf9e..e59e12b 100755 --- a/moveSeasoned.py +++ b/moveSeasoned.py @@ -3,7 +3,7 @@ # @Author: KevinMidboe # @Date: 2017-04-12 23:27:51 # @Last Modified by: KevinMidboe -# @Last Modified time: 2017-06-27 15:25:04 +# @Last Modified time: 2017-06-27 15:29:47 import sys, sqlite3, json, os import logging @@ -45,8 +45,8 @@ class episode(object): def fix_ownership(path): # TODO find this from username from config - uid = int(os.environ.get('1000')) - gid = int(os.environ.get('105')) + uid = 1000 + gid = 105 os.chown(path, uid, gid) def moveStray(strayId):