diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-03 11:36:59 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-03 11:39:27 +0100 |
| commit | d4dd979311421c847dee4253bcb9523d6dd03b7b (patch) | |
| tree | f0d0a306a630b949177aa6621eb8b613663139c8 | |
| parent | cd4bafbed3241c6154239d05d8513885fb920025 (diff) | |
install.sh gives rw permissions to user over repo using groups
| -rw-r--r-- | install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -40,6 +40,8 @@ fi if [ -z "$(grep "\bjoeac.net\b" /etc/group)" ] then sudo adduser -D -h /home/joeac.net joeac.net + sudo adduser joeac.net joeac.net + sudo adduser $(whoami) joeac.net fi cd /home/joeac.net @@ -47,6 +49,8 @@ if ! [ -d joeac.net/.git ] then sudo -u joeac.net git clone https://git.joeac.net/joeac/joeac.net.git joeac.net fi +sudo chown joeac.net:joeac.net joeac.net +sudo chmod 764 joeac.net cd joeac.net if ! [ -h /usr/local/lib/joeac.net ] |
