Nikita Karetnikov <[email protected]> skribis: >> Handle what? > > Handle this situation. But I guess it's not needed because noone should > normally have '/homeless-shelter'. > > I was testing a package from its build directory and forgot to unset > some variables ($HOME, for instance).
Ah, so this was not the log of a chroot build, right? (There’s no /homeless-shelter directory in the chroot.) >> What was the error message exactly? > > guix build: error: build failed: directory `/homeless-shelter' exists; > please remove it Perfect, then. :-) >> unless running as root. > > Well, my understanding is that it shouldn't be harmful (under normal > circumstances) for the main system. But it's not smart because you > could affect the chroot itself, which is not desirable anyway. So, I'm > going to use '--userspec' from now on. Not sure what --userspec is. Anyway, in general, it’s a bad idea to do “normal things” as root, because it’s easy to inadvertently break the system one way or another. Thanks, Ludo’.
