logoalt Hacker News

collinfunkyesterday at 2:24 PM4 repliesview on HN

I really don't understand why Canonical rushes this. If 'rm' can't remove all possible directory entries, that is a big issue:

  $ podman run --rm -it ubuntu:26.10
  $ apt update -y; apt upgrade -y
  $ rm --version
  rm (uutils coreutils) 0.10.0
  $ gnumkdir -p $(yes a/ | head -n $((32 * 1024)) | tr -d '\n')
  $ rm -rf a
  Segmentation fault (core dumped) rm -rf a
  $ ls a
  a
  $ gnurm -rf a
  $ ls a
  ls: cannot access 'a': No such file or directory

Replies

teekertyesterday at 2:25 PM

Rush? This is an interim release (95% or so only tracks LTS's) that is not even out yet... Go file a bug reports if you have some time.

show 3 replies
ameliusyesterday at 2:45 PM

Let them first fix Snap.

show 1 reply
dark-staryesterday at 2:48 PM

yeah, this is a bug. And yes, it should be fixed. But I don't think it will affect many users, I mean who has a 32000 -evels deep directory on their system?

show 2 replies
IshKebabyesterday at 4:47 PM

I mean, that should work... but you can see why that would be considered low priority right?