Commit 08024af2 authored by putro's avatar putro

Revert "create writable data directories"

This reverts commit 931524b4.
parent 09857fe4
Pipeline #1772 passed with stages
in 3 minutes and 32 seconds
......@@ -14,28 +14,28 @@ BUILD_PACKAGES="rsync"
# Packages required to serve the website and run the services, in
# addition to those already installed by the base apache2 image.
PACKAGES="
libapache2-mod-sso
php-mysql
php-gd
php-imap
php-mcrypt
php-mbstring
php-xml
php-zip
mysql-client
libapache2-mod-sso
php-mysql
php-gd
php-imap
php-mcrypt
php-mbstring
php-xml
php-zip
mysql-client
"
# Apache modules to enable.
APACHE_MODULES_ENABLE="
rewrite
sso
unique_id
rewrite
sso
unique_id
"
export APACHE_MODULES_ENABLE
# Config snippets to enable for Apache.
APACHE_CONFIG_ENABLE="
php7.0-fpm
php7.0-fpm
"
export APACHE_CONFIG_ENABLE
......@@ -90,8 +90,6 @@ mkdir -p /data
# Fix runtime permissions for the Roundcube data directories.
for d in temp logs ; do
rm -fr /var/www/webmail/$d || true
test -d /data/$d || mkdir /data/$d
chown 1777 /data/$d
ln -sf /data/$d /var/www/webmail/$d
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment