#!/bin/sh if [ ${USER} == "root" ] then # Change file owner chown -R 5000:5000 @DATADIR@ fi # Change file permissions