xichen01 commented on PR #6589: URL: https://github.com/apache/ozone/pull/6589#issuecomment-2650630937
@ivandika3 > * Need to specify the permission requirements of AWS lifecycle configuration for both Native ACL and Ranger I think setting lifecycle can need a write permission for the bucket, because if a user have the write permission for a bucket, the user can delete the key in the bucket. This is also compatible with ranger > * Please help to provide more scenarios of conflicting rules (e.g. rule with root expire on 7 days and rule in subdirectory expire on 14 days, the keys under subdirectory will be deleted). It can be understood that each lifecycle rule in S3 is checked independently, and as long as an object satisfies the conditions of a rule, the action defined by the corresponding rule will be triggered; For Example: If the OBS bucket is set to expire in 7 days for `“prefix”: “a”` and 14 days for `“prefix”: “a/b”`. Then on the 7th day the delete operation for `prefix": ‘a’` will be performed, at which point ‘prefix’: ‘a/b’ will also be deleted, and on the 14th day only an empty operation will be performed. -- 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]
