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


   > @zhengchenyu failure in _acceptance (secure)_ seems related to this 
change. Can you please check?
   > 
   > ```
   > Can follow link with read access                                      | 
FAIL |
   > 'PERMISSION_DENIED User testuser2/[email protected] doesn't have READ 
permission to access volume 71945-target null null' does not contain 
'key-in-readable-bucket'
   > ```
   
   Yes, I found it. the setup of test like below:
   
   ```
       Execute             ozone sh volume addacl --acl 
user:testuser2/[email protected]:r ${target}
       Execute             ozone sh volume addacl --acl 
user:testuser2/[email protected]:rl ${source}
       Execute             ozone sh bucket addacl --acl 
user:testuser2/[email protected]:rl ${source}/readable-bucket
       Execute             ozone sh bucket addacl --acl 
user:testuser2/[email protected]:r ${target}/readable-link
       Execute             ozone sh bucket addacl --acl 
user:testuser2/[email protected]:r ${target}/link-to-unreadable-bucket
   ```
   
   I think it is reasonable that set acl with testuser2. But if someone set acl 
with testuser2/[email protected], I think we need make sure that this setting is 
only for testuser2/[email protected], but not for testuser2 in other host. 
   
   I have fix it, Let's wait to check.


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