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

Radim Kolar updated YARN-1526:
------------------------------

    Attachment: create-order-chown.txt

Patch enhanced. Do not optimize out chown if euid/eguid matches desired file 
mode. File might be created in "inherit group" directory

> change owner before setting setguid
> -----------------------------------
>
>                 Key: YARN-1526
>                 URL: https://issues.apache.org/jira/browse/YARN-1526
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.3.0
>         Environment: BSD
>            Reporter: Radim Kolar
>         Attachments: create-order-chown.txt, create-order.txt
>
>
> if nodemgr work directory has copy group from parent flag (often set on 
> /tmp), chmod fails to set gid bit because owners group does not match caller 
> group.
> to chown first, then chmod



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to