Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95E8818AF3 for ; Wed, 10 Feb 2016 06:31:18 +0000 (UTC) Received: (qmail 39692 invoked by uid 500); 10 Feb 2016 06:31:18 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 39657 invoked by uid 500); 10 Feb 2016 06:31:18 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 39638 invoked by uid 99); 10 Feb 2016 06:31:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 06:31:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2FA132C14F0 for ; Wed, 10 Feb 2016 06:31:18 +0000 (UTC) Date: Wed, 10 Feb 2016 06:31:18 +0000 (UTC) From: "Aldrin Piri (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-1461) RPM should create nifi user and give it access to the /opt/nifi and subdirectories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140400#comment-15140400 ] Aldrin Piri commented on NIFI-1461: ----------------------------------- Did a build on a relic of the glory days of Thinkpads running CentOS 7.2 {quote} Linux brick 3.18.17-13.el7.x86_64 #1 SMP Wed Jul 22 14:20:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux CentOS Linux release 7.2.1511 (Core) Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T16:10:27-04:00) Maven home: /usr/local/maven Java version: 1.7.0_95, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95-2.6.4.0.el7_2.x86_64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.18.17-13.el7.x86_64", arch: "amd64", family: "unix" {quote} Performed a mvn clean install -T2C -Pgroovy-unit-test,rpm to fully harness the sheer power that is the Core2Duo processor. Sure, it's a mobile processor, but that's only because it is mobilizing bits with unbridled tenacity and stunning efficiency. Build completed successfully and was able to install. Verified that the anticipated directory structure is present, user was created, and the appropriate run.as configuration was established to have NiFi run as nifi. Overall, looks good to me, but am interested to hear more from Andre's perspective. As a follow on task, would like to see the associated service get installed and to branch out with support for dpkg (had used jdeb a while ago and remember it being quite good). > RPM should create nifi user and give it access to the /opt/nifi and subdirectories > ---------------------------------------------------------------------------------- > > Key: NIFI-1461 > URL: https://issues.apache.org/jira/browse/NIFI-1461 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 0.4.1 > Reporter: Andre > Assignee: Tony Kurc > Labels: rpm > Fix For: 0.5.0 > > Attachments: 0001-NIFI-1461-This-closes-204.-Implemented-RPM-before-af.patch, 0002-NIFI-1461-added-run.as-filtered-property-for-RPM-and.patch, nifi.spec, nifi.spec > > > currently when installing from RPM the resulting permissions result on admins having to complete the installation by adding a user and correcting filesystem permissions. > Ideally the RPM packages should result in installed files ready to be utilised as a non-root user -- This message was sent by Atlassian JIRA (v6.3.4#6332)