The installed files have the wrong permissions set

Bug #219414 reported by clockwork pete
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dokuwiki (Ubuntu)
Fix Released
Low
Tanguy Ortolo

Bug Description

Binary package hint: dokuwiki

The following files/directories need to be modifiable by the docuwiki program (ie by user name www-user or group www-user)

/etc/docuwiki/local.php
/usr/share/lib/dokuwiki/plugins/
/var/lib/dokuwiki/acl/acl.auth.php
/var/lib/dokuwiki/acl/users.auth.php

Currently they are installed as only modifiable by root, and you need to change the permissions by hand.

This is with dokuwiki 0.0.20070626b-1 on Ubuntu "Gutsy Gibbon", doing a default install with Synaptic package manager.

Daniel T Chen (crimsun)
Changed in dokuwiki:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Tanguy Ortolo (tanguy+ubuntu) wrote :

I am working on offering, via debconf, the choice to make the plugins and configuration files writeable by the web server.

The users and acl files should already be owned by www-data.

Changed in dokuwiki (Ubuntu):
assignee: nobody → Tanguy Ortolo (tanguy+ubuntu)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.8 KiB)

This bug was fixed in the package dokuwiki - 0.0.20091225c-8

---------------
dokuwiki (0.0.20091225c-8) unstable; urgency=low

  * debian/rules: remove lib/exe/multipleUpload.swf from binary package, as it
    cannot be built from source, violating the Policy. (Closes: #592593)
  * debian/NEWS: document that removal and how to get
    lib/exe/multipleUpload.swf from the upstream distribution.
  * debian/postinst: correct wrong plugin path
     + in the dpkg-statoverride. (Closes: #592653)
     + in the symlink creation. (Closes: #592656)
  * debian/po/de.po: debconf template translation update
     + German, thanks to Holger Wansing. (Closes: #592651)
  * debian/copyright: explicited the license of lib/_fla/* (the Flash-base
    multiple upload applet).

dokuwiki (0.0.20091225c-7) unstable; urgency=low

  * debian/po/fr.po: debconf template translation update
     + French, thanks to Steve Petruzzello. (Closes: #591252)
  * debian/control: bumped Standards-Version to 3.9.1 (no change
    needed).

dokuwiki (0.0.20091225c-6) unstable; urgency=low

  * debian/postinst: check existence of conffiles before chown/chmoding them:
    the user may have deleted them. (Closes: #589263)
  * debian/po/*.po: debconf templates translation update
     + Czech, thanks to Miroslav Kure. (Closes: #589566)
     + Danish (new translation), thanks to Joe Hansen. (Closes: #589095)
     + Spanish, thanks to Francisco Javier Cuadrado. (Closes: #590051)
     + Portuguese, thanks to Rui Branco. (Closes: #589086)
     + Russian, thanks to Yuri Kozlov. (Closes: #588950)

dokuwiki (0.0.20091225c-5) unstable; urgency=low

  * debian/preinst: remove useless ucf association with
    /usr/share/dokuwiki/.htaccess
  * debian/postinst:
     + make /etc/dokuwiki/local.php readable by the web server.
       (Closes: #588699)
     + transition to plugins and templates under /var/lib/dokuwiki/lib,
       see below.
     + remove auto_prepend_file from Apache configuration: it only works
       with mod_php and is now useless, see below.
     + generate wiki configuration file /etc/dokuwiki/local.php candidate
       event if there is already one: ucf is here to allow the user to manage
       the conflict.
  * debian/postrm: do not call lighty-disable-mod if lighttpd is not
    installed. (Closes: #588700)
  * debian/copyright: integrated the BSD license, as it will be removed from
    common-licenses.
  * debian/control: updated Standards-Version to 3.9.0, taking into account
    the BSD license removal from common-licenses.
  * debian/patches/fhs.diff: modified lib/plugins/acl/ajax.php to define
    DOKU_INC to its location under Debian. (Closes: #588405) (LP: #589469)
  * Added an ucf historical md5sum file for
    /usr/share/dokuwiki/.htaccess.dist.
  * conf/license.php: backported an upstream commit to fix the CC-BY-ND
    license URL (btw, this license is inappropriate for a wiki, and will be
    removed in the next upstream version). (Closes: #531353)
  * Added a lintian override for a template detected as unused because
    lintian does not understand Perl config scripts.
  * Moved templates and plugins to /var/lib/dokuwiki/lib, to reproduce the
    original hierarchy of ...

Read more...

Changed in dokuwiki (Ubuntu):
status: In Progress → 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.