File permissions and ownership must be consistent across development, build, and production systems. To make this work, you must either:
All of the following:
Change Commerce file system permissions and ownership on each system as necessary using the following guidelines:
If you choose this approach, you must set file system permissions and ownership every time you pull code from your build system (if the file system owner or web server user are different on your build system).