Create tcedir with correct permissions

Condense dir creation and change permissions in a single command.

Change-Id: I2021f6b4ee4992aa72b0d686bab57408c27fd10b
This commit is contained in:
Riccardo Pittau 2021-04-12 16:21:33 +02:00
parent b6fefd65d3
commit 43486c21c0
1 changed files with 1 additions and 2 deletions

View File

@ -143,8 +143,7 @@ if [ -n "$CI_DIR" ]; then
done
fi
$CHROOT_CMD mkdir /etc/sysconfig/tcedir
$CHROOT_CMD chmod a+rwx /etc/sysconfig/tcedir
$CHROOT_CMD mkdir -m777 /etc/sysconfig/tcedir
$CHROOT_CMD touch /etc/sysconfig/tcuser
$CHROOT_CMD chmod a+rwx /etc/sysconfig/tcuser