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 "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/09/06 01:42:07 UTC

[jira] [Commented] (HADOOP-8457) Address file ownership issue for users in Administrators group on Windows.

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

Ivan Mitic commented on HADOOP-8457:
------------------------------------

Thanks for commenting Sanjay.

I don't like UGI being exposed further. Can we change the api to take user or user&group?
bq. Passing along UGI seemed reasonable as we need information about both user name and user groups. We can change the API to accept a username and a list of user groups, however, I personally like the current approach better as it encapsulates the user info. This can become useful at some later time. Do let me know if you think differently and I'll change the API to accept user&groups.
                
> Address file ownership issue for users in Administrators group on Windows.
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-8457
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8457
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 1.1.0, 0.24.0
>            Reporter: Chuan Liu
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8457-branch-1-win_Admins(2).patch, HADOOP-8457-branch-1-win_Admins.patch
>
>
> On Linux, the initial file owners are the creators. (I think this is true in general. If there are exceptions, please let me know.) On Windows, the file created by a user in the Administrators group has the initial owner ‘Administrators’, i.e. the the Administrators group is the initial owner of the file. As a result, this leads to an exception when we check file ownership in SecureIOUtils .checkStat() method. As a result, this method is disabled right now. We need to address this problem and enable the method on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira