fix permissions in server script

This commit is contained in:
Tobias Powalowski 2022-02-04 22:02:56 +01:00
parent a0b825fe7f
commit 0416d85ae7
2 changed files with 2 additions and 0 deletions

View file

@ -66,6 +66,7 @@ cd "${_ISODIR}" || exit 1
# set user rights on files
# set user rights on files
[[ -d "${_BUILDDIR}" ]] || exit 1
chown -R "${_USER}:${_GROUP}" "${_BUILDDIR}"
chmod 755 "${_BUILDDIR}"
cd "${_BUILDDIR}" || exit 1
# remove sha256sum and install image

View file

@ -39,6 +39,7 @@ cp "${_PACMAN_CONF}".old "${_PACMAN_CONF}"
# set user rights on files
[[ -d "${_BUILDDIR}" ]] || exit 1
chmod 755 "${_BUILDDIR}"
chown -R "${_USER}:${_GROUP}" "${_BUILDDIR}"
cd "${_BUILDDIR}" || exit 1
# remove sha256sum
rm sha256sum.txt