HashtagSell / htsApp

HashtagSell Beta Application
0 stars 0 forks source link

Fail on upload of new profile picture or backdrop #55

Closed devinmckinney closed 9 years ago

devinmckinney commented 9 years ago

Tried to upload new backdrop picture, and new profile picture - both were displayed on screen, but when I clicked Submit Changes error EACCES. profile_picture_upload_errors

that1guy commented 9 years ago

Great. Thanks for passing this along!

that1guy commented 9 years ago

Assigning to myself and adding milestone.

that1guy commented 9 years ago

@brozeph when profile and banner images are uploaded they are dumped into a temp directory in htsApp. This temp directory originally not committed to htsApp repo, so it wasn't in Docker when deployed.

After ensuring this empty tmp folder was deployed to docker the issue still persists, leaving me to think this issue is caused because the tmp directory in the Docker image has strict write permissions.

Any chance we can add a

mkdir tmp

in the Dockerfile so that htsApp will have a tmp directory in it's root with ideal permissions?

brozeph commented 9 years ago

Fixed in the Dockerfile! :smile_cat:

that1guy commented 9 years ago

This resolves issue.

devinmckinney commented 9 years ago

Passed regression test, it works. Thanks!