permissions, readme

This commit is contained in:
Matthew Saunders Brown 2021-05-06 13:36:41 -07:00
parent 4966dee974
commit c5306497c5
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
# vmail-webmail # Vmail Webmail
Roundcube installer & configs to work with Vmail Stack.
You must first install Vmail Stack & Vhost Stack:
<https://git.stack-source.com/msb/vmail-stack>
<https://git.stack-source.com/msb/vhost-stack>
## Install ## Install
``` ```

View File

@ -62,6 +62,7 @@ install --owner=www-data --group=www-data --mode=750 --directory /var/tmp/roundc
# # USER=$(stat -c '%U' /srv/www/html) # # USER=$(stat -c '%U' /srv/www/html)
# # GROUP=$(stat -c '%G' /srv/www/html) # # GROUP=$(stat -c '%G' /srv/www/html)
# # chown -R $USER:$GROUP /srv/www/html/roundcube # # 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 d -exec chmod 755 {} +
find /srv/www/html/roundcube -type f -exec chmod 644 {} + find /srv/www/html/roundcube -type f -exec chmod 644 {} +
chmod 755 /srv/www/html/roundcube/bin/*.sh chmod 755 /srv/www/html/roundcube/bin/*.sh