Hi,
So I'm currently attepting to install Magento via Composer, and I'm having issues at the below part of the installation.
https://devdocs.magento.com/guides/v2.4/install-gde/composer.html#set-file-permissions
Couldn't get the above to work on its own, I've found resources elsewhere suggesting this:
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && chown -R :www-data . && chmod u+x bin/magento
As I'm on a shared which doesn't have the above group in the command, I've missed that part out and ran:
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && chmod u+x bin/magento
However it's kicking out an error "find: missing arguement to '-excec'"?
Any help would be appreciated.