Github user brosander commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/59#discussion_r90240544
--- Diff:
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/RunMiNiFi.java
---
@@ -357,8 +387,10 @@ private synchronized void saveProperties(final
Properties nifiProps, final Logge
try {
final Set<PosixFilePermission> perms = new HashSet<>();
- perms.add(PosixFilePermission.OWNER_READ);
perms.add(PosixFilePermission.OWNER_WRITE);
+ perms.add(PosixFilePermission.OWNER_READ);
+ perms.add(PosixFilePermission.GROUP_READ);
+ perms.add(PosixFilePermission.OTHERS_READ);
--- End diff --
On further investigation, it seems like this is just the pid file (I
initially assumed it was the properties file)
I'm ok with others knowing the pid since OS permissions should still keep
them from doing bad things. (Also, it's not uncommon to be able to list all
processes)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---