[GH-ISSUE #772] Wordpress / Images #443

Closed
opened 2026-03-04 01:45:37 +03:00 by kerem · 3 comments
Owner

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"
         ]
       }
     }
   ]
}

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"          ]        }      }    ] }
kerem closed this issue 2026-03-04 01:45:37 +03:00
Author
Owner

@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.

<!-- gh-comment-id:397484414 --> @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.
Author
Owner

@Jeet-14 commented on GitHub (Jun 25, 2018):

principal should be whole ARN

<!-- gh-comment-id:399892160 --> @Jeet-14 commented on GitHub (Jun 25, 2018): principal should be whole ARN
Author
Owner

@gaul commented on GitHub (Aug 16, 2020):

Please try the suggested workarounds and reopen the issue with more details if the symptoms persist.

<!-- gh-comment-id:674500488 --> @gaul commented on GitHub (Aug 16, 2020): Please try the suggested workarounds and reopen the issue with more details if the symptoms persist.
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#443
No description provided.