Commit 745510d2 authored by Andrew Ladlow's avatar Andrew Ladlow
Browse files

common: Add admin user to www-data group

parent df1daf3e
symbiosis-common (2018:0615) stable; urgency=medium
* Add the admin user to the www-data group by default.
-- Andrew Ladlow <andrew.ladlow@bytemark.co.uk> Fri, 15 Jun 2018 15:28:56 +0100
symbiosis-common (2017:0901) stable; urgency=medium
* Update postinstall hostname check to ensure HOSTNAME is qualfied.
......
......@@ -44,6 +44,13 @@ if ( ! grep ^admin: /etc/passwd 2>/dev/null >/dev/null ); then
fi
fi
#
# Ensure admin user is added to www-data group
#
if [ ! "groups admin | grep www-data" ] ; then
usermod -a -G www-data admin
fi
#
# Add a stat override for the /srv directory.
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment