Subject: bug#63749: configure script does not work properly

From: Мегахит <[email-masked]>
Date: Sat, 27 May 2023 09:41:23 +0300

Debian Sid amd64, building packages for Linux From Scratch

*checking whether mknod can create fifo without root privileges...
configure: error: in `/media/*usb mount directory*/sources/coreutils':*
*configure: error: you should not run configure as root (set
FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)*

then the configure script exits.
setting FORCE_UNSAFE_CONFIGURE to 1 gives the same result no matter how I
set it.
running the script with no sudo or su -l results in security restrictions
which do not allow me to configure even the first step:
*./configure: line 4404: config.log: Permission denied*
*./configure: line 4414: config.log: Permission denied*

chmod'ing everything in the directory will not do much since created files
are always restricted to the user, if configure will even create those.