From c5306497c520bc799f39e8bda85550b609d1bdec Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 6 May 2021 13:36:41 -0700 Subject: [PATCH] permissions, readme --- README.md | 7 ++++++- install.sh | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5db262..3c1b5ef 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# vmail-webmail +# Vmail Webmail + +Roundcube installer & configs to work with Vmail Stack. +You must first install Vmail Stack & Vhost Stack: + + ## Install ``` diff --git a/install.sh b/install.sh index ee353b8..9af7e8b 100644 --- a/install.sh +++ b/install.sh @@ -62,6 +62,7 @@ install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundc # # USER=$(stat -c '%U' /srv/www/html) # # GROUP=$(stat -c '%G' /srv/www/html) # # chown -R $USER:$GROUP /srv/www/html/roundcube +chown -R vhost:vhost /srv/www/html/roundcube find /srv/www/html/roundcube -type d -exec chmod 755 {} + find /srv/www/html/roundcube -type f -exec chmod 644 {} + chmod 755 /srv/www/html/roundcube/bin/*.sh