Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock
Please unblock package otrs2 It fixes RC bug #700897: diff -Naur '--exclude=.svn' 3.1.7+dfsg1-6/debian/changelog 3.1.7+dfsg1-7/debian/changelog --- 3.1.7+dfsg1-6/debian/changelog 2012-10-16 11:14:16.498983306 +0200 +++ 3.1.7+dfsg1-7/debian/changelog 2013-02-27 10:25:48.144232210 +0100 @@ -1,3 +1,12 @@ +otrs2 (3.1.7+dfsg1-7) unstable; urgency=high + + * Do not call otrs.SetPermissions.pl in postinst, since it modificates a few + files in /usr/share/otrs, instead set the required permissions in + /var/lib/otrs on my own. + Closes: #700897 + + -- Patrick Matthäi <[email protected]> Wed, 27 Feb 2013 10:13:53 +0100 + otrs2 (3.1.7+dfsg1-6) unstable; urgency=medium * Add upstream patch 30-osa-2012-03-js-xss to improve HTML security, where a diff -Naur '--exclude=.svn' 3.1.7+dfsg1-6/debian/otrs2.postinst 3.1.7+dfsg1-7/debian/otrs2.postinst --- 3.1.7+dfsg1-6/debian/otrs2.postinst 2012-10-16 11:14:16.498983306 +0200 +++ 3.1.7+dfsg1-7/debian/otrs2.postinst 2013-02-27 10:25:48.144232210 +0100 @@ -86,8 +86,6 @@ cd $OTRSHOME && ./bin/otrs.RebuildConfig.pl > /dev/null cd $OTRSHOME && ./bin/otrs.DeleteCache.pl > /dev/null fi - $OTRSHOME/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data \ - --web-user=www-data --web-group=www-data --secure $OTRSHOME > /dev/null 2>&1 if [ -f $OTRS_VAR/Config/Files/ZZZAAuto.pm ]; then chown root:www-data $OTRS_VAR/Config/Files/ZZZAAuto.pm fi @@ -97,6 +95,24 @@ chmod 0775 $OTRS_VAR/Config/ chmod 0775 $OTRS_VAR/Config/Files chmod 0775 /var/spool/otrs + # Set required permissions, which were set by otrs.SetPermissions.pl in the past + if [ ! -f $OTRS_VAR/log/TicketCounter.log ]; then + echo '' > $OTRS_VAR/log/TicketCounter.log + chown otrs:www-data $OTRS_VAR/log/TicketCounter.log + chmod 0664 $OTRS_VAR/log/TicketCounter.log + fi + chown otrs:www-data $OTRS_VAR/article + chmod 2775 $OTRS_VAR/article + chown otrs:www-data $OTRS_VAR/log + chmod 2775 $OTRS_VAR/log + chown otrs:www-data $OTRS_VAR/sessions + chmod 2775 $OTRS_VAR/sessions + chown otrs:www-data -R $OTRS_VAR/stats + chmod 2775 $OTRS_VAR/stats + chown otrs:www-data -R $OTRS_VAR/tmp + find $OTRS_VAR/tmp -type d -exec chmod 2775 {} \; + find $OTRS_VAR/httpd/htdocs/ -type d -name \*-cache -exec chown otrs:www-data {} \; + find $OTRS_VAR/httpd/htdocs/ -type d -name \*-cache -exec chmod 2775 {} \; ;; install) ;; unblock otrs2/3.1.7+dfsg1-7 -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

