#!/bin/bash

mkdir app/cache app/logs app/db
sudo setfacl -R -m u:www-data:rwx -m u:marian0:rwx app/cache app/logs
sudo setfacl -dR -m u:www-data:rwx -m u:marian0:rwx app/cache app/logs

#!/bin/bash

mkdir app/cache app/logs app/db
sudo setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs

Fix the username to be automatic
Fix the username to be automatic
