From fd07fdbb34ac3ad910fba0ff0643d2207e0f50cd Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Tue, 5 Nov 2024 11:58:47 -0600 Subject: [PATCH] add misc.md --- misc.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 misc.md diff --git a/misc.md b/misc.md new file mode 100644 index 0000000..5b49e0a --- /dev/null +++ b/misc.md @@ -0,0 +1,17 @@ +## cannot remove '/tmp/env-vars': Operation not permitted + +If, when running nix-shell this happens: + +``` +coper:~/dot_testing/boxes/phone/init$ nvim shell.nix +coper:~/dot_testing/boxes/phone/init$ nix-shell +install: cannot remove '/tmp/env-vars': Operation not permitted +``` + +remove `/tmp/env-vars` (it's owned by root for some reason): + +``` +$ sudo rm /tmp/env-vars +``` + +Is there a fix for this?