Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DFE4B18E3B for ; Tue, 23 Feb 2016 04:12:23 +0000 (UTC) Received: (qmail 90488 invoked by uid 500); 23 Feb 2016 04:12:18 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 90283 invoked by uid 500); 23 Feb 2016 04:12:18 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 90261 invoked by uid 99); 23 Feb 2016 04:12:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2016 04:12:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2779C2C1F57 for ; Tue, 23 Feb 2016 04:12:18 +0000 (UTC) Date: Tue, 23 Feb 2016 04:12:18 +0000 (UTC) From: "Jay Guo (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MESOS-3727) File permission inconsistency for mesos-master executable and mesos-init-wrapper. 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/MESOS-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15158251#comment-15158251 ] Jay Guo edited comment on MESOS-3727 at 2/23/16 4:11 AM: --------------------------------------------------------- We have just confirmed in *0.27.0-0.2.190.ubuntu1404*, the problem persists. We should modify permissions of following files in release: /usr/bin/mesos-init-wrapper 770 --> 775 /etc/default/mesos 640 --> 644 /etc/default/mesos-master 640 --> 644 /etc/default/mesos-slave 640 --> 644 However, where is Mesos release maintained? was (Author: guoger): We have just confirmed in *0.27.0-0.2.190.ubuntu1404*, the problem persists. We should modify permissions of following files in release: /usr/bin/mesos-init-wrapper 770 --> 775 /etc/default/mesos 640 --> 644 /etc/default/mesos-master 640 --> 644 /etc/default/mesos-slave 640 --> 644 However, where is Mesos release maintained? > File permission inconsistency for mesos-master executable and mesos-init-wrapper. > --------------------------------------------------------------------------------- > > Key: MESOS-3727 > URL: https://issues.apache.org/jira/browse/MESOS-3727 > Project: Mesos > Issue Type: Bug > Affects Versions: 0.25.0 > Reporter: Sarjeet Singh > Assignee: Jay Guo > Priority: Trivial > > There seems some file permission inconsistency for mesos-master executable and mesos-init-wrapper script with mesos-version 0.25. > node-1:~# dpkg -l | grep mesos > ii mesos 0.25.0-0.2.70.ubuntu1404 > node-1:~# ls -ld /usr/sbin/mesos-master > -rwxr-xr-x 1 root root 289173 Oct 12 14:07 /usr/sbin/mesos-master > node-1:~# ls -ld /usr/bin/mesos-init-wrapper > -rwxrwx--- 1 root root 5202 Oct 1 11:17 /usr/bin/mesos-init-wrapper > Observed the issue when tried to execute the mesos-master executable with non-root user and since, init-wrapper doesn't have any non-root user permission, it didn't get executed and mesos-master didn't get started. > Should be make these file permission consistent for executable & init-script? -- This message was sent by Atlassian JIRA (v6.3.4#6332)