[ 
https://issues.apache.org/jira/browse/HADOOP-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590114#action_12590114
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3264:
------------------------------------------------

There is a bug in the patch: In permission_disp, we need
{code}
short permissionsId = (permissions >> (i * 3)) & (short)7;
{code}

> libhdfs does not provide permissions in API
> -------------------------------------------
>
>                 Key: HADOOP-3264
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3264
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: libhdfs
>    Affects Versions: 0.16.2
>            Reporter: Craig Macdonald
>         Attachments: libhdfs_permissions.v1.patch
>
>
> There is no support in libhdfs methods for obtaining or setting the 
> permissions, owner or group-owner of files in hdfs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to