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

Bikas Saha commented on HADOOP-8763:
------------------------------------

The following code seems to be an unrelated change? Also, do you mean BUILDIN 
or BUILTIN?
{code}
+  // Empty name is invalid. However, LookupAccountName() function will return a
+  // false Sid, i.e. Sid for 'BUILDIN', for an empty name instead failing. We
+  // report the error before calling LookupAccountName() function for this
+  // special case.
+  //
+  if (wcslen(acctName) == 0)
+    return FALSE;
{code}

Do you see any unexpected behavior for users because of the following?
{code}
+On Linux, if a colon but no group name follows the user name, the group of\n\
+the files is changed to that user\'s login group. Windows has no concept of\n\
+a user's login group. So we do not change the group owner in this case.\n",
 program)
{code}
                
> Set group owner on Windows failed
> ---------------------------------
>
>                 Key: HADOOP-8763
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8763
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>             Fix For: 1-win
>
>         Attachments: HADOOP-8763-branch-1-win-2.patch, 
> HADOOP-8763-branch-1-win.patch
>
>
> RawLocalFileSystem.setOwner() method may incorrectly set the group owner of a 
> file 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

Reply via email to