Paket restore IOException: read-only filesystem
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- fsharp
- Domain
- cli
Research direction
Start at the dotnet paket restore entry point and try to reproduce the failure with the Nix/Direnv .direnv symlinks and read-only filesystem described in the report. Trace the restore operation that reaches the reported obj path; done means Paket completes restore successfully without attempting an invalid write, with a regression test for the scenario.
Written by the indexing model from the issue text.
Description
Description
The dotnet paket restore command fails when encountering a read-only file-system.
I use Nix and Direnv for managing my projects and a .direnv directory is created with symlinks to my read-only root filesystem.
Repro steps
Unable to reproduce at this moment in a non-nix environment. I will update the issue when I have.
Expected behavior
Paket restores as normal.
Actual behavior
> dotnet paket restore
Paket version 8.0.3+75b30cdcb8859e8d129f139444d9b9b600bfff07
Total time taken: 0 milliseconds
Paket failed with
-> IOException: Read-only file system : '/home/christian/Programming/Marten.FSharp/.direnv/flake-inputs/yknlydpjczha2l9f4yd3wz5nhj4g4rwq-source/pkgs/test/dotnet/project-references/application/obj'
Known workarounds
No workarounds have been found at this time.
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fsprojects/Paket
-
agentic-workflows automation repo-assist
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fsprojects/Paket#4411 ·
-
agentic-workflows automation repo-assist
Difficulty 1/5 Under an hour Newbie friendliness 82/100
fsprojects/Paket#4400 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
fsprojects/Paket#4255 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fsprojects/Paket#2321 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
fsprojects/Paket#4428 ·
All issues in fsprojects/Paket
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvengeMedia/DankMaterialShell#3523 ·
-
comp/cli comp/cron P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
NousResearch/hermes-agent#117433 · 2 comments ·