You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jay Guo (JIRA)" <ji...@apache.org> on 2016/02/23 05:12:18 UTC

[jira] [Comment Edited] (MESOS-3727) File permission inconsistency for mesos-master executable and mesos-init-wrapper.

    [ 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)