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?

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.

  • I m getting chmod: invalid mode: `www-data:www-data' message.Is it chmod or chown? – blakcaps Aug 22 '11 at 11:03
  • Sorry, it should be chown. – quanta Aug 22 '11 at 11:06
  • Thanks.How to make apache run as www-data user? – blakcaps Aug 22 '11 at 11:12
  • Open the Apache configuration file - httpd.conf, and change User, Group to www-data. Don't forget to restart. – quanta Aug 22 '11 at 11:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.