permission | R Documentation |
Change file permissions
s3_file_chmod(
path,
mode = c("private", "public-read", "public-read-write", "authenticated-read",
"aws-exec-read", "bucket-owner-read", "bucket-owner-full-control")
)
s3_bucket_chmod(
path,
mode = c("private", "public-read", "public-read-write", "authenticated-read")
)
path |
(character): A character vector of path or s3 uri. |
mode |
(character): A character of the mode |
character vector of s3 uri paths
## Not run:
# Require AWS S3 credentials
temp_file = s3_file_temp(tmp_dir = "MyBucket")
s3_file_create(temp_file)
# Reset connection to connect to a different region
s3_file_chmod(
profile_name = "s3fs_example",
region_name = "us-east-1",
refresh = TRUE
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.