Dubious ownership error during initial installation #48

Open
opened 2025-05-28 22:30:11 +00:00 by rashiqazhan · 0 comments

I tried installing with the curl -sSf -L https://install.lix.systems/lix | sh -s -- install as stated in the docs. I'm not sure what's causing the dubious ownership issue. I tried sudo chown -R 1000 /nix in the root folder but that didn't help.

Error

Error: 
   0: Install failure
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `setup_default_profile` errored
   4: Failed to execute command with status 1 `HOME="/root" NIX_SSL_CERT_FILE="/nix/store/y2zh06pccwcvz43xwgd8mr8pbqflkqww-nss-cacert-3.107/etc/ssl/certs/ca-bundle.crt" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0/bin/nix-env" "-i" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0"`, stdout: 
      stderr: installing 'lix-2.93.0'
      warning: skipping suspicious writable file '/nix/store/zibsn0q371bka07ckcwyz7v2fk25m9sr-env-manifest.nix'
      warning: skipping suspicious writable file '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv'
      building '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv'...
      error: suspicious ownership or permission on '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv.chroot/nix/store/d0llmfvfr433ca57pi5amqd0lzvj2f38-user-environment' for output 'out'; rejecting this build output

Metadata

key value
version 0.17.1
os linux
arch x86_64
I tried installing with the `curl -sSf -L https://install.lix.systems/lix | sh -s -- install` as stated in the docs. I'm not sure what's causing the dubious ownership issue. I tried `sudo chown -R 1000 /nix` in the root folder but that didn't help. ## Error ``` Error: 0: Install failure 1: Error executing action 2: Action `configure_nix` errored 3: Action `setup_default_profile` errored 4: Failed to execute command with status 1 `HOME="/root" NIX_SSL_CERT_FILE="/nix/store/y2zh06pccwcvz43xwgd8mr8pbqflkqww-nss-cacert-3.107/etc/ssl/certs/ca-bundle.crt" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0/bin/nix-env" "-i" "/nix/store/c47cym23n56kkss8z0ican8nynkf6cwk-lix-2.93.0"`, stdout: stderr: installing 'lix-2.93.0' warning: skipping suspicious writable file '/nix/store/zibsn0q371bka07ckcwyz7v2fk25m9sr-env-manifest.nix' warning: skipping suspicious writable file '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv' building '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv'... error: suspicious ownership or permission on '/nix/store/avnyrrh1q0jl3i24a96zkbjh1v78hrbl-user-environment.drv.chroot/nix/store/d0llmfvfr433ca57pi5amqd0lzvj2f38-user-environment' for output 'out'; rejecting this build output ``` ## Metadata |key|value| |--|--| |**version**|0.17.1| |**os**|linux| |**arch**|x86_64|
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-installer#48
No description provided.