diff --git a/internal/configure/permission.go b/internal/configure/permission.go index f2eafb1c..0c182f25 100644 --- a/internal/configure/permission.go +++ b/internal/configure/permission.go @@ -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() }