To set up the correct WordPress files & folders permissions you need to run these two commands in your terminal/command prompt in the root folder for your WP project:

Copy to Clipboard