Skip to content

Commit

Permalink
fix: chown install script as user prior to machinectl
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jan 24, 2024
1 parent badad8a commit 7e171d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ check_user_not_root() {
root_script_path="$(readlink -f "$0")"
user_script_path="/home/svcfmtm/$(basename "$0")"
cp "$root_script_path" "$user_script_path"
chown svcfmtm:svcfmtm "$user_script_path"
chmod +x "$user_script_path"

machinectl --quiet shell \
Expand Down

0 comments on commit 7e171d3

Please sign in to comment.