diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-08 18:22:24 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-08 18:22:24 +0900 |
| commit | 5bf28901a44e36476900b3671958c1a27cef0ba0 (patch) | |
| tree | cb6d8afdb5d00af7158df46d4af6ca98f872a993 /dist | |
| parent | 9b507715d42f74c3f18fe817c2464abfca1b0182 (diff) | |
cmd/hsu: check against setgid bit
The getgroups behaviour is already checked for, but it never hurts to be more careful in a setuid program.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dist')
| -rwxr-xr-x | dist/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/install.sh b/dist/install.sh index ef2e13d0..b347eaa4 100755 --- a/dist/install.sh +++ b/dist/install.sh @@ -4,7 +4,7 @@ cd "$(dirname -- "$0")" || exit 1 install -vDm0755 "bin/hakurei" "${HAKUREI_INSTALL_PREFIX}/usr/bin/hakurei" install -vDm0755 "bin/hpkg" "${HAKUREI_INSTALL_PREFIX}/usr/bin/hpkg" -install -vDm6511 "bin/hsu" "${HAKUREI_INSTALL_PREFIX}/usr/bin/hsu" +install -vDm4511 "bin/hsu" "${HAKUREI_INSTALL_PREFIX}/usr/bin/hsu" if [ ! -f "${HAKUREI_INSTALL_PREFIX}/etc/hsurc" ]; then install -vDm0400 "hsurc.default" "${HAKUREI_INSTALL_PREFIX}/etc/hsurc" fi |
