/tmp permission #86
-
I want to setup nix package manager https://nixos.org/download.html#nix-install-linux using the multi user installation. However, on Spiral, this error would pop out Is there some special permission setup regarding /tmp? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi there, I'm pretty sure that's a Nix bug: The only other possible difference between SpiralLinux and vanilla Debian would be the There's also this suggestion about plain old permissions on the |
Beta Was this translation helpful? Give feedback.
-
Cool, hope you can figure it out. It would be a good idea to post your experience in that Nix thread. Judging from the small number of posts in that bug report I assume it's not an issue for most users. I honestly don't understand why it would happen only in some cases, so I'd be interested in hearing their explanation regarding whether it's a non-optimal default in the distro or something that their scripts should reasonably be expected to handle gracefully. |
Beta Was this translation helpful? Give feedback.
Hi there, I'm pretty sure that's a Nix bug:
NixOS/nix#6703
You might want to post there to see if they can figure out what is unique about your
/tmp
config that is making it fail in this case.The only other possible difference between SpiralLinux and vanilla Debian would be the
libpam-tmpdir
package, SpiralLinux includes it by default, not sure about vanilla Debian:https://forums.whonix.org/t/make-symlink-attacks-and-other-tmp-based-attacks-harder-or-impossible-using-libpam-tmpdir/8488
There's also this suggestion about plain old permissions on the
/tmp
directory, but I don't (knowingly) mess with any of that in the SpiralLinux config:https://unix.stackexchange.com/a/409961