[ 
https://issues.apache.org/jira/browse/MESOS-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595155#comment-14595155
 ] 

haosdent commented on MESOS-2603:
---------------------------------

Assume that we have two task running in different time, these tasks use a same 
persistent volume. But they use different users in command info. So we chown 
the volume to different users in different times, is it acceptable? Maybe the 
first user in first task don't want other users change the volume content.

> Permissions and ownership of persistent volumes are not set correctly.
> ----------------------------------------------------------------------
>
>                 Key: MESOS-2603
>                 URL: https://issues.apache.org/jira/browse/MESOS-2603
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Jie Yu
>            Assignee: haosdent
>            Priority: Critical
>
> Right now, we don't change the owner/group of the persistent volume created 
> by slave and the default permission is 755. If slave is running under root, a 
> non-root task won't be able to create files in the persistent volume.
> One way is to set the owner/group of the persistent volume to be 
> frameworkInfo.user. But what if the commandInfo of the executor uses a 
> different user?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to