Add RW permissions to img folder
user
```ruby
node[:deploy].each do |application, deploy|
  script "image_permissions" do
    interpreter "bash"
    user "root"
    cwd "#{deploy[:deploy_to]}/current"
    code <<-EOH
    chown -R www-data:www-data public/img
    EOH
  end
end
```
assistant