#! /usr/bin/env bash
set -ex

sudo chcon -t httpd_sys_content_t $1 -R
sudo chcon -t httpd_sys_rw_content_t $1 -R