Hello,
Because this topic isn't yet covered here, i thought i might help people in the future. I've upgraded my dreamfactory platform (in this case from 2.0.1 to 2.1.x) and after this my file upload wasn't working anymore. I received the following error in my console:
file_put_contents(/opt/DF2/apps/dreamfactory/htdocs/storage/app/R90/1459147362758hnaMgCkWyFhK9vxqmNVjqYUdvdSoCgJ3VK1hDizSw2BvuvIch5R7FDhx5CVnftd8.gif): failed to open stream: Permission denied
I didn't change anything on the roles, and the file service was setup fine. After searching for a solution, I came acros this post: http://stackoverflow.com/questions/23540083/failed-to-open-stream-permission-denied-error-laravel
Based on the suggestion there the following fixed my issue:
php artisan cache:clear chmod -R 777 opt/DF2/apps/dreamfactory/htdocs/storage/app
The last part didn't work for me but wasn't needed as well (it seems)
composer dump-autoload