Skip to content

Commit

Permalink
refactor(permissions): grant permission to robolaunch user for /etc/r…
Browse files Browse the repository at this point in the history
…obolaunch
  • Loading branch information
tunahanertekin committed Dec 13, 2023
1 parent 266de6d commit 1ba5032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/configure/permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ func GetGrantPermissionCmd(robot robotv1alpha1.Robot) string {
permissionCmdBuilder.WriteString("sudo setfacl -R -m u:robolaunch:rwx " + v + closerStr + " ")
}

permissionCmdBuilder.WriteString("sudo setfacl -R -m u:robolaunch:rwx " + "/etc/robolaunch" + closerStr + " ")

return permissionCmdBuilder.String()
}

0 comments on commit 1ba5032

Please sign in to comment.