[
https://issues.apache.org/jira/browse/HADOOP-3264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Macdonald updated HADOOP-3264:
------------------------------------
Attachment: libhdfs_permissions.v2.patch
Updated patch addresses Nicholas' comment. My bit shifting arithmetic never was
any good. Displayed permissions reasonably match default permissions (rwxr-xr-x
for directories, rw-r--r-- for files).
> 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,
> libhdfs_permissions.v2.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.