[
https://issues.apache.org/jira/browse/MESOS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Mahler updated MESOS-332:
----------------------------------
Description:
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.
was:
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.
> 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
>
> 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