#!/bin/bash if [ -f $1 ] ; then echo $1 already exists else touch $1 chown www-data $1 chgrp www-data $1 fi