Skip to content

Read-only chroot stores #2134

@FRidh

Description

@FRidh

If I created store paths as user A with

nix run --store /tmp/localstore/ -f channel:nixos-17.09 python3 --command python3

and then want to run the exact same executable as user B

nix run --store /tmp/localstore/ -f channel:nixos-17.09 python3 --command python3
error: opening lock file '/tmp/localstore/nix/var/nix/db/big-lock': Permission denied

It would be nice to be able to use an existing chroot store made by another user.

I am aware it is possible to simply build the store elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions