FS#61211 - [dotnet-sdk] MSBuild.dll: Permission denied

Attached to Project: Community Packages
Opened by Josh (joshtau) - Sunday, 30 December 2018, 04:20 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 03 February 2020, 17:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Installing dotnet-sdk results in "Permission denied" when trying to access MSBuild.dll as a non-root user.

$ ls -al /opt/dotnet/sdk/2.2.100/MSBuild.dll
-rw-r--r-- 1 root root 667136 Dec 5 21:05 /opt/dotnet/sdk/2.2.100/MSBuild.dll

$ /opt/dotnet/sdk/2.2.100/MSBuild.dll
bash: /opt/dotnet/sdk/2.2.100/MSBuild.dll: Permission denied

Copying the files into my home directory, then chown'ing/chmod'ing the files to my local user works.

Additional info:
* package version(s): 2.2.100
* config and/or log files etc.


Steps to reproduce:
1. Install dotnet-sdk
2. As a user, run /opt/dotnet/sdk/2.2.100/MSBuild.dll
3. "Permission denied"
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Monday, 03 February 2020, 17:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Try "dotnet msbuild".

Loading...