[Nix#10062] detect nix store on unsupported filesystems #55
Labels
No labels
Area/build-packaging
Area/evaluator
Area/flakes
Area/profiles
Area/remote-builds
Area/repl
Area/store
bug
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#55
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream-Issue: NixOS/nix#10062
Is your feature request related to a problem? Please describe.
A colleague of mine tried to install Nix with
/nix
on an NTFS mount. He had no idea that this would not work out well for him.The way that this goes wrong right now is that the install itself fails with "error: suspicious ownership or permission on
/nix/store/<some storepath>
". If you migrate your Nix store to NTFS later on the same kind of error starts showing up.Describe the solution you'd like
I wish this was error condition that gets caught and named more clearly, with a dedicated error message, by the installer before it starts the actual install as well as by the Nix daemon on startup.
Describe alternatives you've considered
I guess the alternative is keeping things as they are.
Additional context
Some steps to reproduce this with a fresh install:
sudo mkdir /nix
sudo mount -t ntfs /dev/vdb /nix
sh <(curl -L https://nixos.org/nix/install) --daemon
Priorities
Add 👍 to issues you find important.