diff options
author | Nero | 2023-09-23 11:50:04 +0000 |
---|---|---|
committer | Denys Vlasenko | 2023-10-02 14:26:27 +0200 |
commit | 6d22c9abc29d43e919e819ff004fcd84a90de60b (patch) | |
tree | 4243be33f0596aa5a70b23067c213de0772b3ee8 /miscutils/devmem.c | |
parent | 791b222dd55d3aa0e8b09be1be571e4829465dd6 (diff) | |
download | busybox-6d22c9abc29d43e919e819ff004fcd84a90de60b.zip busybox-6d22c9abc29d43e919e819ff004fcd84a90de60b.tar.gz |
install: Fix chown resetting suid/sgid bits from chmod
Since Linux 2.2.13, chown(2) resets the suid/gid bits for all users.
This patch changes the ordering so that chmod gets called after chown.
This behavior follows GNU coreutils.
Signed-off-by: Nero <nero@w1r3.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/devmem.c')
0 files changed, 0 insertions, 0 deletions