From d59d6b0d0d59855f8701e8e43f3fc4557f7d8095 Mon Sep 17 00:00:00 2001 From: Ionut Filip Date: Mon, 8 Oct 2018 16:35:09 +0300 Subject: [PATCH] Added chwon command --- webmails/rainloop/start.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webmails/rainloop/start.py b/webmails/rainloop/start.py index a9f5da32..26d849f7 100755 --- a/webmails/rainloop/start.py +++ b/webmails/rainloop/start.py @@ -19,3 +19,6 @@ convert("/default.ini", "/data/_data_/_default_/domains/default.ini") convert("/config.ini", "/data/_data_/_default_/configs/config.ini") os.execv("/usr/local/bin/apache2-foreground", ["apache2-foreground"]) + +os.system("chown -R www-data:www-data /data") +