Merge pull request #324 from shoetten/fix/web-correct-permissions-for-settings
chown of settings_local.py to mailman user
This commit is contained in:
@@ -106,6 +106,7 @@ fi
|
|||||||
if [[ -e /opt/mailman-web-data/settings_local.py ]]; then
|
if [[ -e /opt/mailman-web-data/settings_local.py ]]; then
|
||||||
echo "Copying settings_local.py ..."
|
echo "Copying settings_local.py ..."
|
||||||
cp /opt/mailman-web-data/settings_local.py /opt/mailman-web/settings_local.py
|
cp /opt/mailman-web-data/settings_local.py /opt/mailman-web/settings_local.py
|
||||||
|
chown mailman:mailman /opt/mailman-web/settings_local.py
|
||||||
else
|
else
|
||||||
echo "settings_local.py not found, it is highly recommended that you provide one"
|
echo "settings_local.py not found, it is highly recommended that you provide one"
|
||||||
echo "Using default configuration to run."
|
echo "Using default configuration to run."
|
||||||
|
|||||||
Reference in New Issue
Block a user