Wild guess, maybe related to permissions?
https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/Prerequisite_Actions.html#d4376e641
There’s also some commands listed here to verify if the installation was successful:
https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/How_To_Install_ROCm.html#d126e5268