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

Raghu Angadi updated HADOOP-2381:
---------------------------------

    Attachment: HADOOP-2381.patch

This patch adds owner, group, and permissions to FileStatus. These three values 
are 'protected' (instead of private) so that some filesystems can load them 
only when required. Currently LocalFS loads these lazily since needs to execute 
an external process to get these values.

Also output of '-ls' is modified to list these values.

Regd the name {{getPermissions()}}, I included 's' even though it returns 
{{FsPermission}}. {{getPermissions()}} flows better, but we can change that.

> Support permission information in FileStatus
> --------------------------------------------
>
>                 Key: HADOOP-2381
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2381
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.15.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Raghu Angadi
>             Fix For: 0.16.0
>
>         Attachments: 2381_20071207.patch, HADOOP-2381.patch
>
>
> In HADOOP-2288,  FileSystem API is changed to support access control.  
> FileStatus should also be changed to support permission information.

-- 
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