Stream: beginners

Topic: Windows/WSL: Operation not permitted


view this post on Zulip _boris_ (May 12 2024 at 13:24):

Hello, I just installed roc (windows/wsl) , am trying to run HelloWorld and getting 'Error: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }' . roc version : roc nightly pre-release, built from commit 010aed8 on Mi 08 Mai 2024 09:01:56 UTC

view this post on Zulip Notification Bot (May 12 2024 at 14:24):

A message was moved here from #beginners > I can't figure out why using foo = [] doesn't work by Hristo.

view this post on Zulip Anton (May 13 2024 at 10:05):

Hi @_boris_,
To run hello world Roc will download code into /home/your_username/.cache/roc.
Can you try mkdir /home/your_username/.cache/roc and tell me if that also produces a permission denied error?

view this post on Zulip _boris_ (May 13 2024 at 12:36):

Anton said:

mkdir /home/your_username/.cache/roc

Thanks @Anton , /home/your_username/.cache/roc already existed and unfortunately the error persists

view this post on Zulip Anton (May 13 2024 at 13:24):

Can you tell me the size of the .cache/roc folder (du -sh .cache/roc)?

view this post on Zulip _boris_ (May 13 2024 at 17:49):

du -sh /home/boris/.cache/roc
106M /home/boris/.cache/roc

view this post on Zulip Anton (May 14 2024 at 14:21):

Thanks, that looks good. To figure out what's going wrong you'll need to build the compiler from source:


Last updated: Jul 06 2025 at 12:14 UTC