neils-dev commented on PR #4027: URL: https://github.com/apache/ozone/pull/4027#issuecomment-1354066739
@smengcl , following up on quota support for the `ofs tmp` directory discussed offline earlier, I've found that, `space-quotas` appear to not be enforced at the _volume level_ (bug?) and when applied to the _bucket level_ `tmp` it is enforced but any user that has write permission to the `tmp `directory can set the quota. For bucket `space quotas`, only the admin and owner of the bucket should be able to set the quota. How is it that all users that can access the bucket set the quota? @sadanand48 , thoughts on this? OZONE-SITE.XML_ozone.om.enable.ofs.shared.tmp.dir=true ``` ozone sh volume create tmp <set acls as in patch tesed description> ozone sh volume setquota --space-quota 10 /tmp (not enforced) ozone sh bucket setquota --space-quota 10 /tmp/tmp (enforced, but all users with write access to tmp directory can set quota, update quota) ``` -- 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]
