mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #772] Wordpress / Images #443
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#443
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sibaberpollo on GitHub (May 29, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/772
Friends. I have a wordpress whose wp-content directory (css, js and images), is mounted with s3fs. It happens that when we try to close the permissions in the bucket, the images are no longer available in the Wordpress administrator.
##########################################################################
s3fs#bckt-prod-nfinde:/wp-content/uploads /usr/share/nginx/html/finde/wp-content/uploads/ fuse use_cache=/tmp,allow_other 0 0
"Id": "Policy152762aqweqwe8181233262",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt152qwe712321362qeqe",
"Action": "s3: *",
"Effect": "Allow",
"Resource": [
"arn: aws: s3 ::: bckt-prod-nfinde",
"arn: aws: s3 ::: bckt-prod-nfinde / *"
],
"Principal": {
"AWS": [
"876876878564546"
]
}
}
]
}
@tspicer commented on GitHub (Jun 15, 2018):
Are your permissions the same as the ones used by Apache, Nginx, PHP-FPM? It is possible that something is happening where users are not aligned.
@Jeet-14 commented on GitHub (Jun 25, 2018):
principal should be whole ARN
@gaul commented on GitHub (Aug 16, 2020):
Please try the suggested workarounds and reopen the issue with more details if the symptoms persist.