From d0ccef691fe7954c470c1c8ecedfa52615f4aa3b Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Fri, 28 Oct 2022 18:44:37 +0200 Subject: [PATCH] Fix permissions --- app/lib/manage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/manage.py b/app/lib/manage.py index bec3602..fa495af 100644 --- a/app/lib/manage.py +++ b/app/lib/manage.py @@ -302,6 +302,8 @@ def updateRepos(): shutil.rmtree(tempDir) with open(os.path.join(appsDir, "sourceMap.json"), "w") as f: json.dump(sourceMap, f) + # Fix permissions + subprocess.call("chown -R 1000:1000 {}".format(appsDir), shell=True) def getAvailableUpdates():