rendered paste bodysudo apt-get --reinstall install otrs2
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 5 not upgraded.
Need to get 0B/1124kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 65415 files and directories currently installed.)
Preparing to replace otrs2 2.0.4p01-7 (using .../otrs2_2.0.4p01-7_all.deb) ...
Unpacking replacement otrs2 ...
Setting up otrs2 (2.0.4p01-7) ...
otrs:x:109:33::/usr/share/otrs:/bin/false
SetPermissions.sh <$Revision: 1.27 $> - set OTRS file permissions
Copyright (c) 2001-2004 Martin Edenhofer <martin@otrs.org>
Setting file permissions...
chown -R www-data:www-data /usr/share/otrs
chmod -R og+rw /usr/share/otrs
chown otrs:www-data /usr/share/otrs
chown -R otrs:www-data /usr/share/otrs/var/
chown -R www-data:www-data /usr/share/otrs/var/sessions/
touch && chown otrs:www-data /usr/share/otrs/var/log/TicketCounter.log
chmod -R 775 /usr/share/otrs/bin/
(chown && chmod 700) otrs:0 /usr/share/otrs/bin/DeleteSessionIDs.pl
(chown && chmod 700) otrs:0 /usr/share/otrs/bin/UnlockTickets.pl
(chown && chmod 700) otrs:0 /usr/share/otrs/bin/otrs.getConfig