neils-dev commented on PR #4027: URL: https://github.com/apache/ozone/pull/4027#issuecomment-1343489811
Thanks @sadanand48 for looking into this. > Only the admin/owner would be able to move to trash right, The `tmp `directory is a special shared directory. I was proposing to disable trash for this directory as it is shared instead of creating the path `ofs://tmp/tmp/tmp/.Trash/<user>` for each user that deletes its file from `tmp`. If the trash service is enabled do we also want it servicing this shared `tmp `directory? Is there a danger with quota enabled on `tmp` to have the trash directories over time consuming too much and preventing application jobs from running? However, leaving the trash service applied to the `tmp` directory as is operates on delete by placing the owner key in its `ofs://tmp/tmp/tmp/.Trash/<user>` path with Acls inherited from the `tmp` directory and contents. Therefore trash items from one owner has acls belonging to the owner as well as the trash path for the owner. Only owner and admin can delete items in users trash. -- 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]
