3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 3 ans
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?
répondu il y a 3 ans
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
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an