Skip to content

Commit

Permalink
Debian 9 (Stretch) _apt user + _STRICT_BIN_PERMISSIONS errors — fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
omega8cc committed Feb 27, 2019
1 parent a5f1c4d commit 245a0e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/functions/system.sh.inc
Expand Up @@ -2722,6 +2722,7 @@ strict_bin_permissions() {
java \
java6 \
java7 \
java8 \
jpegoptim \
jpegtran \
logger \
Expand Down Expand Up @@ -5118,9 +5119,10 @@ complete() {
fix_lfd_uidignore
fix_cnf_postfix
if [ "${_STRICT_BIN_PERMISSIONS}" = "YES" ]; then
usermod -aG users aegir &> /dev/null
usermod -aG users man &> /dev/null
usermod -aG users mysql &> /dev/null
usermod -aG users aegir &> /dev/null
usermod -aG users man &> /dev/null
usermod -aG users mysql &> /dev/null
usermod -aG users _apt &> /dev/null
if [ -x "/bin/bash" ]; then
switch_to_bash
elif [ -x "/bin/dash" ]; then
Expand Down

0 comments on commit 245a0e8

Please sign in to comment.