From f09c271de9c075a4b7aca6045ac66808c016fabb Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Sat, 27 Feb 2016 17:57:52 -0500 Subject: [PATCH] fixed group --- scripts/GMG/05_create_local_user.sh | 4 ++-- scripts/GMG/10_create_dir.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/GMG/05_create_local_user.sh b/scripts/GMG/05_create_local_user.sh index e07891d..5c09380 100755 --- a/scripts/GMG/05_create_local_user.sh +++ b/scripts/GMG/05_create_local_user.sh @@ -1,5 +1,5 @@ #!/bin/bash # Create mediagoblin user & group -$ROOTCMD sudo useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g nginx mediagoblin -$ROOTCMD sudo groupadd mediagoblin && sudo usermod --append -G mediagoblin mediagoblin +$ROOTCMD useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g www-data mediagoblin +$ROOTCMD groupadd mediagoblin && sudo usermod --append -G mediagoblin mediagoblin diff --git a/scripts/GMG/10_create_dir.sh b/scripts/GMG/10_create_dir.sh index 0143fce..045d5c0 100755 --- a/scripts/GMG/10_create_dir.sh +++ b/scripts/GMG/10_create_dir.sh @@ -1,4 +1,4 @@ #!/bin/bash -$ROOTCMD sudo mkdir -p $GMG_PATH && $ROOTCMD sudo chown -hR mediagoblin:www-data $GMG_PATH +$ROOTCMD mkdir -p $GMG_PATH && $ROOTCMD chown -hR mediagoblin:www-data $GMG_PATH -- 2.25.1