[Bug 2116973] Re: mknod doesn't respect --mode argument
Julian Andres Klode
2116973 at bugs.launchpad.net
Mon Jul 21 09:05:01 UTC 2025
** Also affects: coreutils via
https://github.com/uutils/coreutils/issues/8342
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2116973
Title:
mknod doesn't respect --mode argument
Status in coreutils:
Unknown
Status in rust-coreutils package in Ubuntu:
Triaged
Bug description:
root at q-mknod:~# rm null
root at q-mknod:~# mknod --mode 0666 null c 1 3
root at q-mknod:~# l null
crw-r--r-- 1 root root 1, 3 Jul 15 18:36 null
lrwxrwxrwx 1 root root 9 May 14 09:16 /usr/bin/mknod -> coreutils
This is making livecd-rootfs an FTBFS[1] (see all the permission denied errors when writing to /dev/null):
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
sh: 1: cannot create /dev/null: Permission denied
dh_clean
debian/rules binary
dh binary
sh: 1: cannot create /dev/null: Permission denied
dh_update_autotools_config
(...)
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
sh: 1: cannot create /dev/null: Permission denied
dh_clean
debian/rules binary
dh binary
sh: 1: cannot create /dev/null: Permission denied
dh_update_autotools_config
1. https://launchpadlibrarian.net/805275144/buildlog_ubuntu-questing-amd64.livecd-rootfs_25.10.12_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/coreutils/+bug/2116973/+subscriptions
More information about the foundations-bugs
mailing list