We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523480c commit 5d63555Copy full SHA for 5d63555
pandas/io/s3.py
@@ -31,7 +31,7 @@ def get_file_and_filesystem(
31
fs = get_fs()
32
try:
33
file = fs.open(_strip_schema(filepath_or_buffer), mode)
34
- except (FileNotFoundError, NoCredentialsError):
+ except (FileNotFoundError, NoCredentialsError, PermissionError):
35
# boto3 has troubles when trying to access a public file
36
# when credentialed...
37
# An OSError is raised if you have credentials, but they
0 commit comments