mediawiki/scripts/ensure-permissions.sh

10 lines
273 B
Bash
Raw Normal View History

2021-01-12 08:49:20 +01:00
#!/bin/bash
set -euo pipefail
# Copy the htaccess file
mkdir -p /var/www/localstore/images
mkdir -p /var/www/localstore/smwconfig
cp /var/www/html/images/* /var/www/localstore/images
chown -R www-data:www-data /var/www/localstore
chown -R www-data:www-data /var/www/data