You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Cody Maloney (JIRA)" <ji...@apache.org> on 2015/01/21 23:29:40 UTC

[jira] [Commented] (MESOS-2240) Narrow down file permissions on os::open

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

Cody Maloney commented on MESOS-2240:
-------------------------------------

Would it be reasonable to default to this rather than pass it explicitly as arguments all over the place?

> Narrow down file permissions on os::open
> ----------------------------------------
>
>                 Key: MESOS-2240
>                 URL: https://issues.apache.org/jira/browse/MESOS-2240
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Michael Park
>            Assignee: Michael Park
>
> The file permissions set when creating a file via {{os::open}} should be narrowed down. Currently a common pattern is {{S_IRUSR | S_IWUSR | S_IRGRP | S_IRWXO}}. This should be fixed to {{S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH}}.



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