[
https://issues.apache.org/jira/browse/NIFI-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612853#comment-14612853
]
Aldrin Piri commented on NIFI-472:
----------------------------------
Patch provided gives a run.as user experience as outlined in the ticket with
some assumptions.
* This follows the common model of shared group permissions to access
directories and makes the associated changes to the generated assemblies
** Accordingly, it is expected that the group on the generated files is shared
between the executing user and the run as user. Additionally, the executing
user has sudo privileges.
* Caveat: The default tar on OS X doesn't seem to preserve permissions even
when specifying the -p flag. The zip assembly does.
> 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)