[MSB3191] Unable to create directory. Access to the path is denied.

Completed

Hello I am new to jetbrains I am using it because I switched to linux from windows.
I am running into an error when trying to compile.

I have chmod 777 set on the solution and all sub directories. and it is having trouble creating or accessing the path Release.

Can anyone help me figure out why this is and how to fix it?

0
6 comments

bump

0
Hello Serifaz, Thank you for contacting us. Could you please provide a screenshot with an error (or full error text ) and screenshot with your `Project | Properties | Configurations`. Please make attention that Linux is case sensitive when you give access to a folder.
0

Here is a screenshot of the error with the project and solution properties.

 

also the way I am giving permissions is 
chmod 777 folder/directory/name
is this right?

0

Sefiraz,
could you please check the Output path on `Project properties | Debug` and `Project properties | Release` tabs? 

What is your Linux version? 

It seems like your output path is a root path (/Release/) so you can't write anything there.

0

I'm having the same problem despite running:

find <project-folder> -type d -exec chmod 755 {} \;
find <project-folder> -type f -exec chmod 777 {} \;

I just installed the rider 2020.1 EAP 8 to try to get around this issue https://youtrack.jetbrains.com/issue/RIDER-37188

I can't get 2019.3.4 to work and I can't get 2020.1 EAP 8 to work either, please help me..........................

 

I'm on macOS Catalina 10.15.4 (19E287) running dotnet core 3.1.201, my outpath path is the same yours in the screenshot above. bin\Debug\

Here's an example of a file that can't be opened even though the rights are 777:
Source file '/Users/zno/Documents/code/backend/iSpectAPI/iSpectAPI.Core/Database/Types/IsExternalRoleType.cs' could not be opened -- Access to the path '/Users/zno/Documents/code/backend/iSpectAPI/iSpectAPI.Core/Database/Types/IsExternalRoleType.cs' is denied.

ls -halt on above gives:
-rwxrwxrwx 1 zno staff 623B Apr 12 19:10 /Users/zno/Documents/code/backend/iSpectAPI/iSpectAPI.Core/Database/Types/IsExternalRoleType.cs

And I have paid license for Rider

0

Hi! 

You don't need any special rights on MacOS for these folders.  Could you please reproduce the issue and collect the full log bundle using the following instructions so we could take a closer look at the case? You can attach them privately by creating a new issue via `Help | Report a bug` or `Help | Contact support`. Please also specify there your project type.

Thank you in advance!

0

Please sign in to leave a comment.