microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

Update RTVS-daemon installation instructions #4269

Closed Neil-Schneider closed 6 years ago

Neil-Schneider commented 6 years ago

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.

msftclas commented 6 years ago

CLA assistant check
All CLA requirements met.

Neil-Schneider commented 6 years ago

Since this was done from work, I am working on getting official CLA approval. Even though this was a small addition.

MikhailArkhipov commented 6 years ago

Thanks!