gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

commit 9ba5d034d275ab12f16e5ce4e4ff1dc88c0b9ee0
parent f763c2152befd8e8ce3ebeaf9146ee4c434c4b55
Author: rob <rob@tarina.org>
Date:   Thu, 29 Feb 2024 22:32:53 +0000

ownership right on the link

Diffstat:
Mgonzopi.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gonzopi.py b/gonzopi.py @@ -5013,10 +5013,10 @@ def gonzopiserver(state): try: run_command('sudo systemctl start apache2') os.system("sudo ln -sf -t "+gonzopifolder+"/srv/static/ " + filmfolder) - os.system("sudo chown www-data "+gonzopifolder+"/srv/static/ " + filmfolder) + os.system("sudo chown -h www-data "+gonzopifolder+"/srv/static/gonzopifilms") return 'on' except: - os.system("sudo chown pi "+gonzopifolder+"/srv/static/ " + filmfolder) + os.system("sudo chown -h pi "+gonzopifolder+"/srv/static/gonzopifilms") writemessage("could not run gonzopi server") time.sleep(2) return 'off'