Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

shred: a FIFO, a directory and a missing file are reported differently from GNU

Open
#15,181 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@NdekoCode is already working on this.

Since Oct 7, 2026.

  • #15182 by @NdekoCode — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start with the shred implementation and the shred/fifo.sh test referenced in the issue. Compare how uutils handles FIFOs, directories, missing files, and sockets with the GNU output described here. Done means the relevant cases report errors matching the stated GNU behavior; an open linked pull request already exists, so check its status before starting.

Written by the indexing model from the issue text.

Description

U - shred
$ mkfifo p; mkdir d
$ shred p
shred: p: Not a file
$ shred d
shred: d: Not a file
$ shred missing
shred: missing: No such file or directory

GNU 9.12 refuses a FIFO before opening it, with shred: p: invalid file type, and reports a directory or a missing file as the failure to open them: shred: d: failed to open for writing: Is a directory, shred: missing: failed to open for writing: No such file or directory. A socket gets the open failure too (failed to open for writing: Operation not supported on socket on macOS), where uutils says Not a file. uutils main at a5bc606e4. This is what shred/fifo.sh in #14705 exercises.

Dominant language
Rust
Stars
24.3k
Forks
2.1k
Avg merge
2d 15m
Merged PRs (30d)
320

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/coreutils

All issues in uutils/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.