3 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Hi, I tried Greengrass v2 on cloud 9 and here's what worked for me: I made sure that my etc/sudoers file had root with ALL:ALL permissions, as it says in the requirements: https://docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html#greengrass-v2-requirements . I installed greengrass in the root directory so as to not have permissions issues with ec2-user directory. I changed the permissions on the greengrass folder to chmod 755, because I saw in a github commit that they needed to be 755 instead of what they are now. Then it worked for me, running on the greengrass core.
respondido há 3 anos
0
Hi rakibk,
Thanks for using Greengrass!
I have a few questions about your setup.
- Did you specify
--component-default-user ggc_user:ggc_group
in the installer command? Did you change the posix user of the HelloWorld component? - Can you check the permission of file
/greengrass/v2/packages/artifacts/com.example.HelloWorld/1.0.0/hello_world.py
? - Are you able to run
sudo -u ggc_user echo hello
on the Cloud9 instance?
respondido há 3 anos
0
Hello!
- Yes I put that exact command as stated in the tutorial process. I did not change the ggc_user:ggc_group
- This the permissions I get for the file that you specified:
-rwxr-xr-- 1 ggc_user ggc_group 277 Dec 18 20:16 hello_world.py
- Yes, it outputs 'hello' without issue
respondido há 3 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 2 anos