Skip to content

Conversation

@JRF63
Copy link
Contributor

@JRF63 JRF63 commented Nov 1, 2024

This PR finalizes the chgrp implementation and includes tests for it.

I found an undocumented quirk regarding passing a missing group argument to chgrp that's neither mentioned in the man page nor in the specification. Supposedly,

chgrp '' a

Should change a's ctime but shouldn't modify its group. I think the behavior was taken from chown based on its man page. I added it in because it seems like a common pattern seeing that it's even on Rust's chown.

@jgarzik jgarzik merged commit 51fbfb8 into rustcoreutils:main Nov 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants