05-02-2021 03:15 PM
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.
05-03-2021 12:41 AM
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
05-03-2021 12:41 AM
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
05-04-2021 08:26 PM
I had to add alfresco to the docker group, but the same idea, thank you!
05-05-2021 10:15 AM
Glad it worked for you. Good luck
05-06-2021 05:47 AM
Hi @mangar
Thanks for accepting the solution - really helpful to other users who encounter the same issue.
Cheers,
Explore our Alfresco products with the links below. Use labels to filter content by product module.