---
title: "Amazon AWS S3 CLI で権限を指定してコピーする"
description: "term (または同等のターミナル) を開き、次を貼り付けます："
canonical: https://oozou.com/til/amazon-aws-s3-cli-copy-with-set-perms-14
locale: ja
date: 2020-10-13
topic: shell
---

# Amazon AWS S3 CLI で権限を指定してコピーする

> term (または同等のターミナル) を開き、次を貼り付けます：

Published: 2020-10-13 · Topic: [shell](https://oozou.com/ja/til-topics/shell) ([markdown](https://oozou.com/ja/til-topics/shell.md))

*term* (または同等のターミナル) を開き、次を貼り付けます：

## S3 コピー

- 誰でも読み取り可能なファイルをアップロードするには：

```
aws s3 cp source.file s3://bucket/path/dest.file --acl public-read
```

*--acl* パラメータのオプションは次のとおりです：

- *private* - 所有者のみ閲覧可能
- *public-read* - 全員が読み取り可能
- *public-read-write* - 全員が読み書き可能

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/ja/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
