I was running into strange issues with permissions. I believe this may also be related to the dotnet installation issue mentioned in #4255. I was getting a Failed to initialize CoreCLR, HRESULT: 0x80004005 when running rtvsd and dotnet.
I traced the error down to the tar command. It appears that since I was un-tarring the rtvs-daemon package into /tmp, that it was overwriting the permission on /tmp, which triggers this error. This is because the tar-ball included .\ in the structure with permissions that were different than /tmp.
One option to avoid this was to include --no-overwrite-dir in the tar command, but I personally felt it was safer to place it in it own folder.
I was running into strange issues with permissions. I believe this may also be related to the dotnet installation issue mentioned in #4255. I was getting a
Failed to initialize CoreCLR, HRESULT: 0x80004005
when runningrtvsd
anddotnet
.I traced the error down to the
tar
command. It appears that since I was un-tarring the rtvs-daemon package into/tmp
, that it was overwriting the permission on/tmp
, which triggers this error. This is because the tar-ball included.\
in the structure with permissions that were different than/tmp
.One option to avoid this was to include
--no-overwrite-dir
in thetar
command, but I personally felt it was safer to place it in it own folder.