Re: sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Stuart Henderson
On 2023/01/08 22:28, Thomas Dettbarn wrote: > However, my original post was an idea about enhancing security by compiling > everything as non-root by default. Diffs to improve things that don't break existing setup are welcome, but would likely be complicated. The recommended way to build ports i

Re: sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Brian Callahan
On 1/8/2023 4:06 PM, Christian Weisgerber wrote: > > That configure check is from a gnulib macro. It also appears (at > least) in archivers/gtar, where we work around it like this: > > Index: Makefile > === > RCS file: /cvs/ports/sy

Re: sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Thomas Dettbarn
On 1/8/23 22:06, Christian Weisgerber wrote: That configure check is from a gnulib macro. It also appears (at least) in archivers/gtar, where we work around it like this: Exactly! An easy fix to the port. (Given that the Maintainer wants to fix it, of course. ;) ) However, my original pos

Re: sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Christian Weisgerber
Thomas Dettbarn: > So... I noticed that the sysutils/coreutils port cannot be compiled as > root. > checking whether mknod can create fifo without root privileges... > configure: error: in `/usr/ports/pobj/coreutils-9.1/coreutils-9.1': > configure: error: you should not run configure as root T

Re: sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Klemens Nanni
08.01.2023 14:40, Thomas Dettbarn пишет: > Hello! > > > So... I noticed that the sysutils/coreutils port cannot be compiled as > root. Whether or not this is a problem of the port or me being too > naiive when it comes to installing something is up to you. > (pkg_add coreutils fixed my problem)

sysutils/coreutils cannot be compiled as root -> idea

2023-01-08 Thread Thomas Dettbarn
Hello! So... I noticed that the sysutils/coreutils port cannot be compiled as root. Whether or not this is a problem of the port or me being too naiive when it comes to installing something is up to you. (pkg_add coreutils fixed my problem) Anyways, see for yourself: % cd /usr/ports/sysutil