mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix permissions in server script
This commit is contained in:
parent
a0b825fe7f
commit
0416d85ae7
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue