-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing rights of /var/lib/mailman/archives/private
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Source debconf library. | ||
. /usr/share/debconf/confmodule | ||
|
||
CONFIGFILE="/etc/alternc/local.sh" | ||
LOGROTATE="/etc/logrotate.d/roundcube-core" | ||
|
||
case "$1" in | ||
configure) | ||
|
||
# since alternc uses apache itk, the Unix user running the webserver | ||
# may not always be www-data. | ||
# as a result, we must open the rights to read on /var/lib/mailman/archives/private to everybody | ||
|
||
dpkg-statoverride --list /var/lib/mailman/archives/private >/dev/null || | ||
dpkg-statoverride --add root list 2775 /var/lib/mailman/archives/private | ||
chmod 2775 /var/lib/mailman/archives/private | ||
|
||
echo "**********************************************" | ||
echo "* ALTERNC-MAILMAN: *" | ||
echo "* Please run alternc.install to fully deploy *" | ||
echo "**********************************************" | ||
;; | ||
|
||
esac | ||
|
||
# dh_installdeb will replace this with shell code automatically | ||
# generated by other debhelper scripts. | ||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
alternc-mailman (3.1.3) oldstable; urgency=low | ||
|
||
* fix the rights on /var/lib/mailman/archives/private for apache-mpm-itk | ||
|
||
-- Benjamin Sonntag <[email protected]> Sun, 13 Mar 2016 17:32:33 +0100 | ||
|
||
alternc-mailman (3.1.2) oldstable; urgency=low | ||
|
||
* fix using our own binaries for /usr/lib/cgi-bin/mailman (ugly but working) | ||
|