Greetings, please see screenshot
what permissions do I need to set? and where?
view the webroot sudo commands
view the webroot chmod commands
You need to use the command 'cd' navigate to your Magento 2 site's root folder and run the below command:
chmod -R 777 var pub generated
/opt/cpanel/ea-php74/root/bin/php bin/magento setup:upgrade
Hope this can help you! Let me know if you need further assistance.
If issue solved, Click Kudos & Accept as Solution.