ashishkumar50 commented on PR #6218:
URL: https://github.com/apache/ozone/pull/6218#issuecomment-1945708067

   > > If we don't want to allow this delete, I think in that case it should 
fail in the client itself if user is trying to delete a key which is having 
trailing slash and show appropriate message as "Directory can be deleted only 
through FS interface".
   > 
   > +1 to this idea, intermediate dirs are created by the system to be 
compatible with the filesystem, they shouldn't be accessible as individual 
keys. I'm not aligned towards this particular change as this is legacy code & 
it might break some other case which we are not aware of currently.
   
   Done this change to restrict legacy bucket directory deletion through sh 
command.


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