diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-07 12:43:06 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-07 12:43:06 -0500 |
commit | 6fe469522a3213e5b005e6f21b6bd34a71e064b3 (patch) | |
tree | 61cbb82997fecdd97170503a4ee5c1d32887144f /chapter7/backup.sh | |
parent | aca2b28f6b06a3308e52bbe5165b86562fbfd160 (diff) |
Change ownership of chapter7 backup.
Diffstat (limited to 'chapter7/backup.sh')
-rw-r--r-- | chapter7/backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chapter7/backup.sh b/chapter7/backup.sh index 7745551..9442566 100644 --- a/chapter7/backup.sh +++ b/chapter7/backup.sh @@ -16,6 +16,7 @@ else printf "%b" "${IRED}FAILED!${RST}\n" exit "${retval}" else + sudo chown -v "${USER}" "${HOME}"/"${file}" >"${LFS}"/sources/log/chapter7/backup.log 2>&1 printf "%b" "${IGRN}OK${RST}\n" fi popd > /dev/null || exit 1 |