Skip to content

Commit

Permalink
add missing sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jan 29, 2025
1 parent 1fc7696 commit 08b8518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pit/lib/lib-k8s-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ setSuid() {
runCmd "$TEST" "Changing owner to root to: $R" "sudo chown root $R" \
&& runCmd "$TEST" "Changing set-uid to: $R" "sudo chmod u+s $R" && return 0

runCmd "$TEST" "Coping $R" "cp $R /tmp/$1" \
runCmd "$TEST" "Coping $R" "sudo cp $R /tmp/$1" \
&& runCmd "$TEST" "Changing owner to root to: /tmp/$1" "sudo chown root /tmp/$1" \
&& runCmd "$TEST" "Changing set-uid to: $R" "sudo chmod u+s /tmp/$1" && return 0
}
Expand Down

0 comments on commit 08b8518

Please sign in to comment.