bug(install): when using `/dev/snd/timer` reports incorrect error messages
Open
Nobody has claimed this yet.
U - install
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
Hi, uutils mainteners
in our test we confirm, the utility install reports wrong errors when the file is /dev/snd/timer
relunsec@relunsec:~/software/coreutils/target/debug$ ./install a /dev/snd/timer
install: invalid target '/dev/snd/timer': No such file or directory
relunsec@relunsec:~/software/coreutils/target/debug$ gnuinstall a /dev/snd/timer
gnuinstall: cannot remove '/dev/snd/timer': Permission denied
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two install a /dev/snd/timer commands from the issue and trace the install command entry point. Compare the Rust utility's error handling with GNU install, then add coverage for this device-path case and verify that the reported error matches the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100