From a7d2cb4bdf078090646d0738ba457eb8d7683ff7 Mon Sep 17 00:00:00 2001 From: endorphant Date: Wed, 29 Nov 2017 12:20:37 -0500 Subject: [PATCH] removing global chmods resolves #19; the issue is with tilde.town's use of /var/global. once the permissions are set correctly on those to begin with, they should just stick, so this isn't a ttbp issue. --- ttbp/core.py | 2 +- ttbp/ttbp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ttbp/core.py b/ttbp/core.py index dc72eee..81fee3c 100644 --- a/ttbp/core.py +++ b/ttbp/core.py @@ -259,7 +259,7 @@ def write_global_feed(blogList): """) outfile.close() - subprocess.call(['chmod', 'a+w', FEED]) + #subprocess.call(['chmod', 'a+w', FEED]) ## misc helpers diff --git a/ttbp/ttbp.py b/ttbp/ttbp.py index 353cfc9..db971cf 100644 --- a/ttbp/ttbp.py +++ b/ttbp/ttbp.py @@ -270,7 +270,7 @@ press to begin, or to get out of here. users.write(config.USER+"\n") users.close() - subprocess.call(['chmod', 'a+w', config.USERFILE]) + #subprocess.call(['chmod', 'a+w', config.USERFILE]) ## make .ttbp directory structure subprocess.call(["mkdir", config.PATH])