diff --git a/scripts/copy_admin_scripts.sh b/scripts/copy_admin_scripts.sh index c0d3721..4e66a14 100755 --- a/scripts/copy_admin_scripts.sh +++ b/scripts/copy_admin_scripts.sh @@ -9,7 +9,7 @@ cd $ADMIN_SCRIPTS_DIR homedir="/home/$ADMIN_USER" for file in *; do cp -rv $file "$homedir/" - chown -R -c -v $user:$user "$homedir/$file" + chown -R -c -v $ADMIN_USER:$ADMIN_USER "$homedir/$file" chmod -R -v 750 "$homedir/$file" done