Using Trellis, I get a permissions error for creating folders when trying to import media files with WP Migrate DB PRO in both local and staging environments.
The exact error is Error attempting to create required directory: /srv/www/trellis-aspph-test.com/releases/20150929152409/web/app/uploads/2015/02 (#104mf)
.
I tried to 777 the /shared/uploads but no luck. I tried changing ownership to www-data:ww-data; no luck. Any ideas?
As for the original permissions:
From the app directory: lrwxrwxrwx 1 web www-data 46 Sep 29 15:24 uploads -> /srv/www/trellis-aspph-test.com/shared/uploads
From /shared: drwxr-xr-x 6 web www-data 4096 Sep 29 15:26 uploads
.