Magento 2 Developer Documentation.

Source: Set pre-installation ownership and permissions | Magento 2 Developer Documentation