Fix log dir permissions
This commit is contained in:
parent
5902a51f9e
commit
50a200535e
1 changed files with 1 additions and 0 deletions
|
|
@ -444,6 +444,7 @@ LINUX_ISO="$(realpath "${arg_l:-}" 2>/dev/null || true)"
|
||||||
WINPE_ISO="$(realpath "${arg_w:-}" 2>/dev/null || true)"
|
WINPE_ISO="$(realpath "${arg_w:-}" 2>/dev/null || true)"
|
||||||
EXTRA_DIR="$(realpath "${arg_e:-}" 2>/dev/null || true)"
|
EXTRA_DIR="$(realpath "${arg_e:-}" 2>/dev/null || true)"
|
||||||
mkdir -p "$(dirname "$LOG_FILE")"
|
mkdir -p "$(dirname "$LOG_FILE")"
|
||||||
|
chown "$SUDO_USER:$SUDO_USER" -R "$(dirname "$LOG_FILE")"
|
||||||
|
|
||||||
# COLORS
|
# COLORS
|
||||||
CLEAR="\e[0m"
|
CLEAR="\e[0m"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue