<p>When I run cabal repl in the week01 folder I get an error message that states the following</p>
<pre><code>*/plutus-pioneer-program/code/week01/dist-newstyle:
    createDirectory: permission denied (Permission denied)
</code></pre>
<p>I am not sure how to resolve this error.  The command looks to create a directory but the build does not have permissions to create that directory.</p>
<p>Any help you can provide is appreciated.</p>
<p>Thank you</p>

CC BY-SA 4.0
2022-01-26T02:30:10.083Z
Can you please provide steps to reproduce this failure? Which Operating System, which architecture, which repo cloned, which ref, and which command invocations?
angerman
CC BY-SA 4.0
2022-01-27T15:58:33.310Z
Thank you for your interest in help resolve this issue.
SidneyN
CC BY-SA 4.0
2022-01-27T16:06:33.633Z
Operating System
VM VirtualBox running Ubuntu 20.04.3 LTS

Steps I take
Intiate nix-shell in the plutus-apps directory
Navigate to home/user/plutus-apps/plutus-pioneer-program/code/week01

or home/user/plutus-apps/plutus-pioneer-program/code/week02

At prompt enter: cabal repl

This is where I get the error message.
SidneyN
CC BY-SA 4.0
2022-01-30T23:44:45.947Z
Do you have enough memory? Running all this stuff with require at least 8GB.
Erik de Castro Lopo
CC BY-SA 4.0
2022-02-01T00:53:30.070Z
Yes, I believe I have about 12Gigs.  The problems seems to be tied to not having permissions to create files/directories during an installation.  When I run cabal repl, it throws an error protesting that cabal repl does not have permission to create directory dist-newstyle.
SidneyN
<cabal><build><linux><repl>
cabal repl error
# cabal repl error

(Asked by: username_0 on 2022-01-24)

When I run cabal repl in the week01 folder I get an error message that states the following
*/plutus-pioneer-program/code/week01/dist-newstyle:
    createDirectory: permission denied (Permission denied)

I am not sure how to resolve this error.  The command looks to create a directory but the build does not have permissions to create that directory.
Any help you can provide is appreciated.
Thank you

**Tags:** cabal, build, linux, repl
> **Comments:**
> **username_1**: Can you please provide steps to reproduce this failure? Which Operating System, which architecture, which repo cloned, which ref, and which command invocations?  
> **username_0**: Thank you for your interest in help resolve this issue.  
> **username_0**: Operating System VM VirtualBox running Ubuntu 20.04.3 LTS  Steps I take Intiate nix-shell in the plutus-apps directory Navigate to home/user/plutus-apps/plutus-pioneer-program/code/week01  or home/user/plutus-apps/plutus-pioneer-program/code/week02  At prompt enter: cabal repl  This is where I get the error message.  
> **username_2**: Do you have enough memory? Running all this stuff with require at least 8GB.  
> **username_0**: Yes, I believe I have about 12Gigs.  The problems seems to be tied to not having permissions to create files/directories during an installation.  When I run cabal repl, it throws an error protesting that cabal repl does not have permission to create directory dist-newstyle.  

---

## 0 answers

