0

I am running magento in dedicated server.CMS running with root:root as user and group.If magento downloads any extensions it is saving with www-data:www-data ownership.I want to know how can i set root:root for downloading files

or

How to set all files with www-data:www-data and make the files executable?

blakcaps
  • 115
  • 6

1 Answers1

1

CMS running with root:root as user and group

Don't do that.

How to set all files with www-data:www-data and make the files executable?

chown -R www-data:www-data /path/to/your/magento

and make the Apache running as www-data user.

quanta
  • 51,413
  • 19
  • 159
  • 217