Closed (fixed)
Project:
AmazonS3
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Dec 2011 at 17:38 UTC
Updated:
2 Jan 2012 at 13:35 UTC
Jump to comment: Most recent file
The file permissions could not be set on s3://videos/thumbnails/142.
I'm getting a ton of these. While some files actually upload others do not. Is there some sort of configuration that I'm missing either in the Module or on AWS S3?
Failed to create style directory: s3://styles/medium/s3/videos/thumbnails/142
I'm also getting these just once when I try to put things into a new folder, but the folder and the sub folders are all getting created on amazon.
I've tried with the beta5 and also with the latest dev (Nov 29).
From what I can tell drupal is passing chmod 436 and 509 (which are really strange octals).
Any ideas?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | chmod-1376356.patch | 1023 bytes | justafish |
| #1 | chmod-folder-support-1376356-2.patch | 1.07 KB | dlumberg |
Comments
Comment #1
dlumberg commentedThe stream wrapper's chmod function wasn't taking into account that Amazon requires the trailing '/' for directories so it was failing any time the file module would try to chmod a directory.
patch attached.
Comment #2
justafishPlease verify the attached patch works for you. Thanks!
Comment #3
justafishCommitted. Please reopen if there's any problems with it.
Comment #3.0
justafishAdding blockquotes to hightlight error message