Skip to content
Snippets Groups Projects
Commit 7e1174cb authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

chown includes dot files

parent ceec1a30
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
# #
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# 2021-04-19 v0.1 <axel.hahn@iml.unibe.ch> initial version # 2021-04-19 v0.1 <axel.hahn@iml.unibe.ch> initial version
# 2021-05-09 v0.2 <axel.hahn@iml.unibe.ch> chown includes dot files
# ====================================================================== # ======================================================================
...@@ -198,8 +199,8 @@ run_task "${profiledir}/tasks_config.sh" ...@@ -198,8 +199,8 @@ run_task "${profiledir}/tasks_config.sh"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
header "Set file owner [${appowner}]" header "Set file owner [${appowner}]"
if [ ! -z "${appowner}" ]; then if [ ! -z "${appowner}" ]; then
sudo chown -R $appowner * || exit 5 sudo chown -R $appowner * .* || exit 5
ls -l ls -la
else else
echo "SKIP: variable appowner was not set" echo "SKIP: variable appowner was not set"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment