Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#15,181 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@NdekoCode ci sta già lavorando.

Dal 7/10/2026.

  • #15182 di @NdekoCode — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
24.3k
Fork
2.1k
Merge medio
2g 1h
PR unite (30g)
313

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uutils/coreutils

Tutte le issue di uutils/coreutils

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.