[ https://issues.apache.org/jira/browse/NIFI-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872148#comment-15872148 ]
ASF GitHub Bot commented on NIFI-3294: -------------------------------------- Github user apiri commented on the issue: https://github.com/apache/nifi/pull/1405 @ijokarumawak Okay should be good to go now, rolled the arg capture to the main command here https://github.com/apache/nifi/pull/1405/files#diff-0242d48c1b4267348183977fd0cf8966R289 and then additionally went through and tightened up quoting to avoid any issues with possible paths including spaces. > NiFi will ignore nifi-env properties when running as another user > ----------------------------------------------------------------- > > Key: NIFI-3294 > URL: https://issues.apache.org/jira/browse/NIFI-3294 > Project: Apache NiFi > Issue Type: Bug > Components: Configuration > Affects Versions: 1.0.0, 0.7.0, 0.7.1, 1.1.1, 1.0.1 > Environment: All non-Windows, non-Cygwin OSes > Reporter: Aldrin Piri > Assignee: Aldrin Piri > Fix For: 0.8.0, 1.2.0 > > > nifi-env is a script that allows setting of certain properties external to > the core run scripts. However, when sudo is used, the resulting > subshell/child process is a separate environment that does not have the > needed information that was established in nifi-env. This needs to be > incorporated into the run command such that those properties are preserved. -- This message was sent by Atlassian JIRA (v6.3.15#6346)