coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

chown compatibility: `chown root: abc` doesn't change group

Open kpcyrd opened this issue 6 months ago • 0 comments

I noticed this today:

gnu/coreutils:

% mkdir abc
% stat -c%u:%g abc
1000:1000
% doas chown root: abc
% stat -c%u:%g abc
0:0

uutils/coreutils:

# mkdir abc
# chown 1000 abc
# chgrp 1000 abc
# stat -c%u:%g abc
1000:1000
# chown root: abc
# stat -c%u:%g abc
0:1000

kpcyrd avatar May 30 '25 13:05 kpcyrd