#!/bin/sh
read -p "Apakah anda akan update pengaturan hak akses folder webserver ke lebih aman? $
if [[ $prompt =~ "y" || $prompt =~ "Y" || $prompt =~ "yes" || $prompt =~ "Yes" ]]
then
chmod -R 711 /var/www/ && \
chmod -R 700 /var/www/* && \
chown -R www-data:www-data /var/www/*
else
exit 0
fi