chown the output directory

This commit is contained in:
Pratham Patel 2023-10-09 09:06:15 +05:30
parent 3b0a7de613
commit c5277b0a10
No known key found for this signature in database

View File

@ -43,3 +43,7 @@ else
>&2 echo "$0: ${APPLIANCE_NAME}" >&2 echo "$0: ${APPLIANCE_NAME}"
exit 1 exit 1
fi fi
if [[ -n "$1" ]]; then
chown "$1":"$1" -vR "${APPLIANCE_NAME}"
fi