I am using the AIO SDK 4.2 When I try and run and start the application,
sudo ./run.sh build_start
All of the target directories are owned by root. I cannot then do a simple mvn install on an updated amp or whatever without doing a recursive chown. Not to mention Eclipse hates it and wont build anything.
Solved! Go to Solution.
Create the project under home folder of the user to avoid such issues.
or else do the following if not using home folder and see if it works
Provide the rwx group permission and add the user to the group you are using to start the build.
example, create a new group :
sudo groupadd Alfresco
Add the user you are currently using to the newly created group:
sudo usermod -a -G Alfresco alfresco
Here user is "alfresco"
Now provide recursive group permission from the main directory of your project.
make sure permission is set to rwx
sudo chgrp -R Alfresco /usr/local/myAioProject
sudo chmod -R 775 /usr/local/myAioProject
Create the project under home folder of the user to avoid such issues.
or else do the following if not using home folder and see if it works
Provide the rwx group permission and add the user to the group you are using to start the build.
example, create a new group :
sudo groupadd Alfresco
Add the user you are currently using to the newly created group:
sudo usermod -a -G Alfresco alfresco
Here user is "alfresco"
Now provide recursive group permission from the main directory of your project.
make sure permission is set to rwx
sudo chgrp -R Alfresco /usr/local/myAioProject
sudo chmod -R 775 /usr/local/myAioProject
I had to add alfresco to the docker group, but the same idea, thank you!
Glad it worked for you. Good luck
Hi @mangar
Thanks for accepting the solution - really helpful to other users who encounter the same issue.
Cheers,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.