You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kazuho Fujii (JIRA)" <ji...@apache.org> on 2016/02/13 07:44:18 UTC

[jira] [Updated] (HADOOP-12796) FsPermission#applyUMask drops the sticky bit

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

Kazuho Fujii updated HADOOP-12796:
----------------------------------
    Attachment: HADOOP-12796.001.patch

I attached a patch. Please review it.

> FsPermission#applyUMask drops the sticky bit
> --------------------------------------------
>
>                 Key: HADOOP-12796
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12796
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Kazuho Fujii
>         Attachments: HADOOP-12796.001.patch
>
>
> The sticky bit has no effect specified at create and mkdirs. 
> The sticky bit is dropped when umask is applied. {{applyUMask}} method does not take over the sticky bit from the original {{FsPermission}} class.
> In contrast, the sticky bit specified in POSIX' create or mkdir system call is always reflected.



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