You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/01/19 01:16:13 UTC

[jira] [Resolved] (MESOS-332) Executor launcher fetches resources as slave user, instead of executor user.

     [ https://issues.apache.org/jira/browse/MESOS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler resolved MESOS-332.
-----------------------------------

    Resolution: Fixed
    
> Executor launcher fetches resources as slave user, instead of executor user. 
> -----------------------------------------------------------------------------
>
>                 Key: MESOS-332
>                 URL: https://issues.apache.org/jira/browse/MESOS-332
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>
> In launcher.cpp, we currently:
>   -chown the work direcotry
>   -fetch executor resources
>   -unpack them if .zip or .tar.gz files (BUG: This needs to be done as the executor user)
>   -move into work directory
>   -switch user
>   -launch executor
> This may be a matter of just switching to the executor user earlier, right before the unpacking occurs.
> The result of this is that the unpacked files are owned by root and inaccessible by a non-root executor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira