WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
392 stars 630 forks source link

Directory permissions error prevents syllabus upload #842

Closed ragesoss closed 8 years ago

ragesoss commented 8 years ago

I tried to upload a syllabus on staging, and hit an error.

See https://sentry.wikiedu.org/wikiedu/staging/issues/573/

Perhaps we need to change the target directory and/or add another symlink to the Capistrano config?

cc @thenickcox

thenickcox commented 8 years ago

I think we can just chmod the directory. This version of paperclip is configured to store the files in a place that survives deployments by default.

ragesoss commented 8 years ago

on standard Capistrano deployments, the public/system directory is symlinked to the app's shared directory

I don't think we've got it configured that way; there's no public in the shared directory.

thenickcox commented 8 years ago

Should be fixed via 345dca0, according to this issue.

ragesoss commented 8 years ago

@thenickcox it was still not working. I had to do chmod 777 system within that shared public directory before it would work.