You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "kumaab (via GitHub)" <gi...@apache.org> on 2023/03/09 17:57:39 UTC
[GitHub] [ranger] kumaab commented on a diff in pull request #233: Ranger 4043: fixing getent group command
kumaab commented on code in PR #233:
URL: https://github.com/apache/ranger/pull/233#discussion_r1131399059
##########
ugsync/src/main/java/org/apache/ranger/unixusersync/process/UnixUserGroupBuilder.java:
##########
@@ -538,7 +538,7 @@ private void buildUnixGroupList(String allGroupsCmd, String groupCmd, boolean us
for (String group : groups) {
String command = String.format(groupCmd, group);
- String[] cmd = new String[]{"bash", "-c", command + " '" + group + "'"};
+ String[] cmd = new String[]{"bash", "-c", command};
Review Comment:
This change is already present, please revise review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@ranger.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org