ansible-sdkman icon indicating copy to clipboard operation
ansible-sdkman copied to clipboard

Fix permission errors when checking SDKMAN install for different user

Open AlexTMjugador opened this issue 1 year ago • 1 comments
trafficstars

When SDKMAN is installed for a different user than the one Ansible is connecting with for the first time, it is likely that the user home directory permissions do not allow path traversal and/or file reading for the Ansible user:

image

To fix the problem, let's switch to the root user for this check, which should work in virtually every reasonable case.

AlexTMjugador avatar Jan 02 '24 18:01 AlexTMjugador

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 02 '24 18:01 CLAassistant