You are here: Foswiki>Tasks Web>Item10639 (20 Apr 2011, IngoKappler)Edit Attach

Item10639: Installing TocPlugin and BookmakerPlugin leads to permission errors in configure

pencil
Priority: Low
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: BookmakerPlugin, TocPlugin
Branches:
Reported By: IngoKappler
Waiting For:
Last Change By: IngoKappler
Please see the attached picture to understand the issue.

Foswiki configure reports permission errors.png
Errors in configure

It is minor and I am not sure if it will be an Extension or an Engine issue at the end. But from what I see the current permissions of these files trigger an error in configure although the permission are not necessarily wrong they are just not writable by the owner. Maybe just make them writable for the user (755).

# ls -l
insgesamt 40
-rw-r--r-- 1 www-data www-data   175 28. Mär 21:03 bookmaker.css
-rw-r--r-- 1 www-data www-data  1568 28. Mär 21:03 bookmaker.js
-rw-r--r-- 1 www-data www-data   979 28. Mär 21:03 bookmaker_src.css
-rw-r--r-- 1 www-data www-data  3114 28. Mär 21:03 bookmaker_src.js
-r--r--r-- 1 www-data www-data 11953 28. Mär 21:03 expanded.png
-r--r--r-- 1 www-data www-data  9148 28. Mär 21:03 shrunk.png

/data/System# ls -l TocPlugin*
-r--r--r-- 1 www-data www-data 10950 28. Mär 20:33 TocPluginHelp.txt
-r--r--r-- 1 www-data www-data 12460 28. Mär 20:33 TocPlugin.txt

-- IngoKappler - 15 Apr 2011

The MANIFEST files have permissions of 0444 for these files. Anything in the data or pub directories should be 0644.

-- GeorgeClark - 15 Apr 2011

Ok, so the manifest needs to be fixed for these files.

-- IngoKappler - 15 Apr 2011

I tried to upgrade the BookmakerPlugin but it hangs in my installation after showing the Foswiki Logo. I first thought it is an issue with my installation but I do not have such issue e.g. with the TocPlugin. Is this reproducible on other installations?

-- IngoKappler - 20 Apr 2011

BookmakerPlugin installed okay here. Can you try it from the command line? The first thing after the logo, the installer file is downloaded. There might be more information visible from the shell.
   cd [root of foswiki install]
   perl tools/extension_installer BookmakerPlugin

-- GeorgeClark - 20 Apr 2011

Installing it from command line worked perfectly. After that a reinstall from the configure interface also worked again. I guess something was broken in the previous BookmakerPlugin causing the hanging in my installation only.

-- IngoKappler - 20 Apr 2011

 
Topic revision: r12 - 20 Apr 2011, IngoKappler
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy