[ 
https://issues.apache.org/jira/browse/NIFI-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613215#comment-14613215
 ] 

Mark Payne commented on NIFI-472:
---------------------------------

Applied patch. Ran on CentOS 7. All seems to work well. Ran the application as 
root with "run.as" set to "mark" and then was able to stop the application as 
myself. Verified that I owned the file and that permissions were 600. +1

> When running NiFi with the "run.as" property specified in the bootstrap.conf 
> file, the run.as user should own the nifi.pid file
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-472
>                 URL: https://issues.apache.org/jira/browse/NIFI-472
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Aldrin Piri
>             Fix For: 0.2.0
>
>         Attachments: 
> 0001-NIFI-472-Refining-the-mechanism-to-carry-out-running.patch
>
>
> Currently, if I set the "run.as" user to something like "nifi" and then I run 
> "bin/nifi.sh start", a file named "nifi.pid" is created in the bin/ 
> directory, but it is owned by me. It should instead be owned by the "run.as" 
> user (nifi).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to