[Answer]-Django phantomjs(selenium) – write to www-data directory.(ubuntu)

1👍

You can try this:

sudo usermod -a -G www-data user (ubuntu user) #Add user to www-data group

sudo chown -R user:www-data path/to/static/media/directory

Hope this helps .

Leave a comment