Compare commits

...

2 commits

Author SHA1 Message Date
d4a18461ca Fix utils/git
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
In this context, we want to use ${*} rather than ${@}
2024-07-19 01:59:13 -03:00
3ea402048f Update docs 2024-07-16 18:13:59 -03:00
2 changed files with 6 additions and 1 deletions

View file

@ -62,10 +62,15 @@ sourcezap is available
The most recent version of sourcezap can be installed via git:
# Clone
user@localhost$ git clone https://git.hardenedbsd.org/0x1eef/sourcezap.git
user@localhost$ cd sourcezap
# Install
root@localhost# make install
root@localhost# setup-sourcezap
# Add user to '_sourcezap' group
root@localhost# pw groupmod -n _sourcezap -m <user>
## Requirements

View file

@ -10,4 +10,4 @@ mode=u=rwX,g=rX,o=
# main
doas -n \
-u _sourcezap \
/bin/sh -c "umask ${mode}; ${git} ${@}"
/bin/sh -c "umask ${mode}; ${git} ${*}"