uutils / uutils/coreutils

chown USER: does not change group to user's login group

Open
#12,751 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

U - chown
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

On Ubuntu with uutils coreutils 0.8.0, chown USER: FILE changes the owner but does not change the group to USER's login group.

GNU coreutils behavior and the documented chown semantics are that chown USER: FILE, with a colon but no explicit group, should change the group to USER's login group. chown USER FILE should leave the group unchanged.

Contributor guide

Open the contributing guide

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.

Research direction

Start at the chown command's handling of a user followed by a trailing colon, and compare it with the no-colon form. Reproduce both chown USER: FILE and chown USER FILE on Ubuntu; done means the first updates the group to USER's login group while the second leaves the group unchanged.

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
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.