Skip to content

Commit 5682b7e

Browse files
committed
Fixes and updates to object storage page
1 parent 80e17ac commit 5682b7e

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

docs/storage/object.md

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ First, a bucket policy needs to be written:
7676

7777
Then, it can be applied to the bucket:
7878

79-
```
79+
```bash
8080
> aws --profile=naret-testuser s3api put-bucket-policy \
8181
--bucket test-public-bucket --policy \
8282
file://test-public-bucket-anon-from-internet.json
@@ -140,18 +140,49 @@ ERROR: S3 error: 403 (SignatureDoesNotMatch)
140140

141141
To fix this, it is necessary to edit the `.s3cfg` file, normally located in the user's home directory, and change the `signature_v2` setting to true.
142142

143-
```console
144-
~ $ cat .s3cfg | grep signature_v2
143+
```
144+
> cat .s3cfg | grep signature_v2
145145
signature_v2 = True
146146
147-
$ s3cmd ls s3://test-bucket
147+
> s3cmd ls s3://test-bucket
148148
2024-12-09 08:05 15 s3://test-bucket/file.txt
149149
```
150150

151151
### Cyberduck
152152

153153
#### Configuration
154154

155-
In order to be able to connect to the S3 endpoint using Cyberduck, a profile supporting path-style requests must be downloaded from here.
155+
In order to be able to connect to the S3 endpoint using Cyberduck, a profile supporting path-style requests must be downloaded from [here](https://profiles.cyberduck.io/S3%20(Deprecated%20path%20style%20requests).cyberduckprofile) or copied from below.
156+
157+
158+
```bash
159+
> cat "S3 (Deprecated path style requests).cyberduckprofile"
160+
```
161+
```xml
162+
<?xml version="1.0" encoding="UTF-8"?>
163+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
164+
<plist version="1.0">
165+
<dict>
166+
<key>Protocol</key>
167+
<string>s3</string>
168+
<key>Vendor</key>
169+
<string>s3-path-style</string>
170+
<key>Scheme</key>
171+
<string>https</string>
172+
<key>Description</key>
173+
<string>S3 (Deprecated path style requests)</string>
174+
<key>Hostname Configurable</key>
175+
<true/>
176+
<key>Port Configurable</key>
177+
<true/>
178+
<key>Username Configurable</key>
179+
<true/>
180+
<key>Properties</key>
181+
<array>
182+
<string>s3.bucket.virtualhost.disable=true</string>
183+
</array>
184+
</dict>
185+
</plist>
186+
```
156187

157188
![cyberduck](../images/storage/cyberduck.png)

0 commit comments

Comments
 (0)