[PR #594] [MERGED] Check bucket at public bucket and add nocopyapi option automatically #1564

Closed
opened 2026-03-04 02:01:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/594
Author: @ggtakec
Created: 5/13/2017
Status: Merged
Merged: 5/13/2017
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (2)

  • 7115835 Check bucket at public bucket and add nocopyapi option automatically
  • d2ae14d Check bucket at public bucket and add nocopyapi option automatically

📊 Changes

3 files changed (+12 additions, -4 deletions)

View changed files

📝 doc/man/s3fs.1 (+1 -0)
📝 src/s3fs.cpp (+6 -3)
📝 src/s3fs_util.cpp (+5 -1)

📄 Description

Relevant Issue (if applicable)

Part of this PR is related to #593

Details

  • check bucket at public bucket
    When the public_bucket=1 option was specified, s3fs did not check bucket.
    Changed to check the bucket even for public bucket.
    This allows you to fall back to HTTP even though the HTTPS protocol is the default.

  • nocopyapi at anonymous user(public bucket)
    When public bucket is specified, it communicates with S3 as anonymous user.
    S3 does not make use of copy object api for anonymous user with following error.
    In the case of s3fs is a public bucket, the nocopyapi option is automatically given.

<Error><Code>AccessDenied</Code>
<Message>Anonymous users cannot copy objects. Please authenticate.</Message>
<RequestId>........</RequestId>
<HostId>...........</HostId>
</Error>

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/594 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 5/13/2017 **Status:** ✅ Merged **Merged:** 5/13/2017 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`7115835`](https://github.com/s3fs-fuse/s3fs-fuse/commit/7115835834a60df79bad4a53767ddceb2775f80f) Check bucket at public bucket and add nocopyapi option automatically - [`d2ae14d`](https://github.com/s3fs-fuse/s3fs-fuse/commit/d2ae14d8b73884fc7b59488e086991e5b9d5ef8e) Check bucket at public bucket and add nocopyapi option automatically ### 📊 Changes **3 files changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `doc/man/s3fs.1` (+1 -0) 📝 `src/s3fs.cpp` (+6 -3) 📝 `src/s3fs_util.cpp` (+5 -1) </details> ### 📄 Description #### Relevant Issue (if applicable) Part of this PR is related to #593 #### Details - check bucket at public bucket When the public_bucket=1 option was specified, s3fs did not check bucket. Changed to check the bucket even for public bucket. This allows you to fall back to HTTP even though the HTTPS protocol is the default. - nocopyapi at anonymous user(public bucket) When public bucket is specified, it communicates with S3 as anonymous user. S3 does not make use of copy object api for anonymous user with following error. In the case of s3fs is a public bucket, the nocopyapi option is automatically given. ``` <Error><Code>AccessDenied</Code> <Message>Anonymous users cannot copy objects. Please authenticate.</Message> <RequestId>........</RequestId> <HostId>...........</HostId> </Error> ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1564
No description provided.