Hi,
We have a requirement to create a packages whenever we trigger a servlet. It works fine when I use request.getResourceResolver() but when I try using resourceResolver created from subservice. it always fails. Gives a PathNotFoundException "Node with path '/' not found".
Couple of references which I found:
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @omkar20xx1
You will need to provide read permissions to "/ " level.
If your service user is part of the group "everyone" then it should have this permissions.
I assume you are trying in your local environment, thus you dont have "everyone" group assigned.
additionally, you will also need to give read create and modify permission to your package group. for example "/etc/packages/{your_group_name}"
Hi @omkar20xx1
You will need to provide read permissions to "/ " level.
If your service user is part of the group "everyone" then it should have this permissions.
I assume you are trying in your local environment, thus you dont have "everyone" group assigned.
additionally, you will also need to give read create and modify permission to your package group. for example "/etc/packages/{your_group_name}"
everyone group was assigned. Respective permissions for /etc/packages were applied. Still there was a deficiency in root read privileges. Either way thanks for the answer. It worked after I gave the read permission to root manually for the respective system user
Views
Likes
Replies