[SRU] /var/lib/otrs/Config should be writable by www-data for the config interface to work

Bug #605891 reported by jraby
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
otrs2 (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Medium
Marc Deslauriers

Bug Description

Binary package hint: otrs2

By default, the web based configuration interface can't save its data as it doesn't have write access to this directory:
  /var/lib/otrs/Config (root.root 755)

Changing the permission with the following command seems to solve the issue:
 dpkg-statoverride --update --add root www-data 775 /var/lib/otrs/Config

If the fix is adequate, would it be possible to change the permissions in the package?

Thanks.

--
Jean

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: otrs2 2.4.7-1
ProcVersionSignature: Ubuntu 2.6.32-22.36-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-server x86_64
Architecture: amd64
Date: Thu Jul 15 09:49:54 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: otrs2

Revision history for this message
jraby (raby-jean) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This was fixed in 2.4.7-3. From the changelog:

 otrs2 (2.4.7-3) unstable; urgency=low

   * Make /var/lib/otrs/Config/ writeable for www-data, so that configurations
     from OTRS are working.

I'll prepare a SRU for lucid.

Changed in otrs2 (Ubuntu):
status: New → Fix Released
Changed in otrs2 (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Marc Deslauriers (mdeslaur)
summary: - /var/lib/otrs/Config should be writable by www-data for the config
+ [SRU] /var/lib/otrs/Config should be writable by www-data for the config
interface to work
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

SRU request:

Impact: Web configuration interface doesn't work.

This has been addressed by adding the directory permission changes from 2.4.7-3. (See included debdiff.)

Revision history for this message
John Dong (jdong) wrote :

Patch looks decent. Too bad that SetPermissions.sh script doesn't do the whole job, but as a SRU I'm willing to go with this. ACK.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted otrs2 into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in otrs2 (Ubuntu Lucid):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
jraby (raby-jean) wrote :

I changed the permissions back to root.root 755 for the directory (/var/lib/otrs/Config)

Then upgraded to the proposed package and the permissions were correctly set to root.www-data 775.
The web configuration interface works.

Thanks for the quick fix!

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package otrs2 - 2.4.7-1ubuntu0.1

---------------
otrs2 (2.4.7-1ubuntu0.1) lucid-proposed; urgency=low

  * debian/postinst: Make /var/lib/otrs/Config/ writeable for www-data, so
    that configurations from OTRS are working. (LP: #605891)
 -- Marc Deslauriers <email address hidden> Thu, 15 Jul 2010 10:07:28 -0400

Changed in otrs2 (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.