[Bug 2116973] Re: mknod doesn't respect --mode argument

Launchpad Bug Tracker 2116973 at bugs.launchpad.net
Wed Jul 30 02:45:29 UTC 2025


This bug was fixed in the package rust-coreutils -
0.1.0+git20250711.2ba3a33-0ubuntu4

---------------
rust-coreutils (0.1.0+git20250711.2ba3a33-0ubuntu4) questing; urgency=medium

  * Cherry pick mknod --mode fix (LP: #2116973)

 -- Julian Andres Klode <juliank at ubuntu.com>  Tue, 29 Jul 2025 18:40:35
+0200

** Changed in: rust-coreutils (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2116973

Title:
  mknod doesn't respect --mode argument

Status in coreutils:
  Unknown
Status in livecd-rootfs package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  Fix Released

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