[
https://issues.apache.org/jira/browse/YARN-7815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341821#comment-16341821
]
Shane Kumpf commented on YARN-7815:
-----------------------------------
{quote} I am just wondering whether it would be more secure mounting 2. and
appcache/filecache read only but not mounting 4.
{quote}
IIRC, if usercache/_user_ is not mounted r/w, I believe writes to
usercache/_user_/appcache will be denied because docker will create the parent
directories as root:root. I'll do some more testing here based on the
suggestions so far.
> Mount the filecache as read-only in Docker containers
> -----------------------------------------------------
>
> Key: YARN-7815
> URL: https://issues.apache.org/jira/browse/YARN-7815
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Shane Kumpf
> Assignee: Shane Kumpf
> Priority: Major
>
> Currently, when using the Docker runtime, the filecache directories are
> mounted read-write into the Docker containers. Read write access is not
> necessary. We should make this more restrictive by changing that mount to
> read-only.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]