cancel
Showing results for 
Search instead for 
Did you mean: 

Cant save image to product

Cant save image to product

A new install of release version 2.00 on nexcess.net, I can not save a image to a product, with this error 

 

Warning: getimagesize(/chroot/home/domain/html/pub/media/catalog/product/c/o/companion1_3.png): failed to open stream: Permission denied in /chroot/home/domain/html/vendor/magento/module-catalog/Model/Product/Image.php on line 410

2 REPLIES 2

Re: Cant save image to product

You need grant the PHP interpreter rights to write files in the pub folder.

See the documentation about Magento 2 file permissions: http://devdocs.magento.com/guides/v2.0/install-gde/install/file-system-perms.html

Re: Cant save image to product

Will investigate, thanks very much