Unsufficient privileges on directory /usr/share/dokuwiki/lib/plugins/

Bug #205908 reported by Olivier Salaun
4
Affects Status Importance Assigned to Milestone
dokuwiki (Ubuntu)
Fix Released
Undecided
Tanguy Ortolo

Bug Description

Binary package hint: dokuwiki

The package installs the /usr/share/dokuwiki/lib/pluins/ with insufficient privileges, as shown below :
# ls -l /usr/share/dokuwiki/lib/
total 24
drwxr-xr-x 2 root root 4096 2008-03-23 21:46 exe
drwxr-xr-x 6 root root 4096 2008-03-23 21:46 images
drwxr-xr-x 10 root root 4096 2008-03-23 21:46 plugins
drwxr-xr-x 2 root root 4096 2008-03-23 21:46 scripts
drwxr-xr-x 2 root root 4096 2008-03-23 21:46 styles
drwxr-xr-x 3 root root 4096 2008-03-23 21:46 tpl

Additional privileges are reuired to have the plugins installation process to work properly, as described in the plugin administration web page of dokuwiki : "To be able to download and install a plugin your plugin folder must be writeable by the webserver."

# lsb_release -rd
Description: Ubuntu 7.10
Release: 7.10

Revision history for this message
Olivier Salaun (os-cru) wrote :

There are also unsufficient privileges on the /usr/bin/abcm2ps file that make it impossible to configure dokuwiki using its web interface.

Revision history for this message
Olivier Salaun (os-cru) wrote :

Sorry, I indicated a wrong file path above, bad copy/paste.
You should read /etc/dokuwiki/dokuwiki.php instead of /usr/bin/abcm2ps

Revision history for this message
Tanguy Ortolo (tanguy+ubuntu) wrote :

I am working on offering, via debconf, the choice to make the plugins writeable by the web server. The updated package should be available soon in Debian unstable, and then in Ubuntu.

Changed in dokuwiki (Ubuntu):
assignee: nobody → Tanguy Ortolo (tanguy+ubuntu)
status: New → 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.