Skip to content

Commit

Permalink
Change nifi users' home directory to /var/lib/nifi
Browse files Browse the repository at this point in the history
  - Fix file permissions
  • Loading branch information
sodre committed Oct 17, 2017
1 parent d647958 commit b99dcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ NIFI-$(VERSION): nifi-$(NIFI_VERSION) nifi-toolkit-$(NIFI_VERSION)
mkdir -p $@/lib
mv nifi-$(NIFI_VERSION) $@/lib/nifi
mv nifi-toolkit-$(NIFI_VERSION) $@/lib/nifi-toolkit
find $@/lib/nifi-toolkit/bin -type f -exec chmod 755 {} \;
find $@/lib/nifi-toolkit/classpath -type f -exec chmod 644 {} \;

# Remote dependencies
validator.jar:
Expand Down
2 changes: 1 addition & 1 deletion meta/parcel.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"users": {
"nifi": {
"longname": "Apache NiFi",
"home": "/var/run/nifi",
"home": "/var/lib/nifi",
"shell": "/bin/bash",
"extra_groups": [ ]
}
Expand Down

0 comments on commit b99dcb3

Please sign in to comment.