Prerequisites for development, build, and production systems
File permissions and ownership must be consistent across development, build, and production systems. To make this work, you must either:
-
All of the following:
- Set up the same file system owner username on all systems
- Make sure the web server runs as the same user on all systems
- Make sure that the file system owner is in the web server group on all systems
-
Change Commerce file system permissions and ownership on each system as necessary using the following guidelines:
- Development and build: Set pre-installation ownership and permissions (two users)
- Production: Commerce ownership and permissions in development and production
INFO
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).
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c