From 7ccd4fa48e409f9653c583da941d96de3734b894 Mon Sep 17 00:00:00 2001 From: Bruno Ribas Date: Wed, 16 Nov 2016 11:27:20 -0200 Subject: debian/boca.postinst: Fix: chown and chmod in /var/www/boca Signed-off-by: Bruno Ribas --- debian/boca.postinst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 debian/boca.postinst (limited to 'debian/boca.postinst') diff --git a/debian/boca.postinst b/debian/boca.postinst new file mode 100644 index 0000000..fe58575 --- /dev/null +++ b/debian/boca.postinst @@ -0,0 +1,7 @@ +#!/bin/bash + +chown -R www-data.www-data /var/www/boca +chmod -R go-rwx /var/www/boca/src/private +chmod 4555 /usr/bin/safeexec + +service apache2 restart || true -- cgit v1.2.3