setup_toolchain.sh script creates temporary directory and then moves it into install location, see L24 & L35, however the default behaviour of mktemp command applies 700 permissions for the created folder. This makes the LDB install location available for a single user only (ie UID/GID of the script invoker).
I believe the proper approach should be like chmod ag+rx $dir.
setup_toolchain.sh
script creates temporary directory and then moves it into install location, see L24 & L35, however the default behaviour ofmktemp
command applies700
permissions for the created folder. This makes the LDB install location available for a single user only (ie UID/GID of the script invoker).I believe the proper approach should be like
chmod ag+rx $dir
.