Skip to content

ls > /dev/full should not silently succeed #9782

Closed

Description

@oech3
$ uu-expr 1 > /dev/full
$ gnu-expr 1 > /dev/full
expr: write error: No space left on device

Activity

  1. changed the title [-]expr: expr 1 > /dev/full should not silently success[/-] [+]expr, printf: expr 1 > /dev/full should not silently success[/+] on Dec 22, 2025
  2. changed the title [-]expr, printf: expr 1 > /dev/full should not silently success[/-] [+]expr, printf, ls: expr 1 > /dev/full should not silently success[/+] on Dec 22, 2025
  3. oech3 commented on Dec 22, 2025

    @oech3
    ContributorAuthor

    See also #9769

  4. changed the title [-]expr, printf, ls: expr 1 > /dev/full should not silently success[/-] [+]expr, printf, ls: expr 1 > /dev/full should not silently succeed[/+] on Dec 23, 2025
  5. changed the title [-]expr, printf, ls: expr 1 > /dev/full should not silently succeed[/-] [+]ls > /dev/full should not silently succeed[/+] on Jun 29, 2026
  6. Devel08 commented on Aug 24, 2026

    @Devel08
    SponsorContributor

    fixed for ls as well, the error code is 1 instead of 2 though.

    $ cargo run ls > /dev/full
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
         Running `target/debug/coreutils ls`
    ls: write error: No space left on device
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions