s3path icon indicating copy to clipboard operation
s3path copied to clipboard

AccessDenied on ListObjectVersions when opening a file

Open maresb opened this issue 5 months ago • 1 comments

After upgrading from 0.6.1 to 0.6.2 I'm getting the following error:

ClientError: An error occurred (AccessDenied) when calling the ListObjectVersions operation: None

originating from this .exists() check when I open an S3 object.

I have permissions to open successfully but not to perform the existence check.

maresb avatar Jul 25 '25 21:07 maresb

Hi @maresb

This is related to fixing issue #192 It's a good question what is the better approach

If I'll change the file exists validation with the stat method will it solve the permission issue?

liormizr avatar Aug 10 '25 08:08 liormizr