zhengchenyu edited a comment on pull request #2466:
URL: https://github.com/apache/ozone/pull/2466#issuecomment-896636238


   @adoroszlai 
   I found this config, and the ugi.getShortUserName was replace with root. 
   ```
   CORE-SITE.XML_hadoop.security.auth_to_local=RULE:[2:$1](testuser2.*) 
RULE:[2:$1@$0](.*)s/.*/root/
   ```
   I don't know why use this config, I can't find the init commit, this is too 
old. 
   
   In CreateVolumeHandler.java, I changed code. Because I think owner and admin 
should be shortUserName, but not fullUserName. But the shortUserName was 
replace with root, so I allow root to check admin user. Please help me review, 
thanks.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to