Permissions for One Click Magento 2 Install

What are the proper permissions for the magento root directory on the one-click install? I’m trying to figure out who the appropriate owner:group is supposed to be after running updates.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This guide will walk you through file permissions for Magento 2 including recommended ownership (www-data is the default web server user on Ubuntu) as well as permissions for individual files and directories.