install: ancestors_mode_directories_with_file test fails with user with umask other than 022
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
After commit 0c41299975 from PR #10140 , the test_install_ancestors_mode_directories_with_file test don't pass on my local environment.
Maybe related to the system I'm using, which is built from the LFS book, or related to the btrfs file system containing my local uutils repository.
EDIT:
This issue seems related with the default umask of my user, which is 002 by default.
The test assumes the directory created by install --mode=200 -D have the same permission with mkdir, but it's not true with the GNU install command.
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 with test_install_ancestors_mode_directories_with_file and the behavior introduced by commit 0c41299975. Run the test with a non-022 umask and compare the permissions from install --mode=200 -D with GNU install. Done means the test reflects the intended behavior across relevant umasks and passes consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100