gurpal2000's picture

Hi i can't seem to install plugins via the Configure page (Find More Extensions). It always complains for example with more or less the same error (Archive::Tar not installed and then the path issue at the end):

Fetching http://twiki.org/p/pub/Plugins/AccessStatsPlugin/AccessStatsPlugin.tgz...
 Unpacking...
 Archive::Tar is not installed; trying tar on the command-line
 AccessStatsPlugin_installer data/ data/TWiki/ data/TWiki/AccessStatsPlugin.txt lib/ lib/TWiki/ lib/TWiki/Plugins/ lib/TWiki/Plugins/AccessStatsPlugin.pm AccessStatsPlugin_installer
data/
data/TWiki/
data/TWiki/AccessStatsPlugin.txt
lib/
lib/TWiki/
lib/TWiki/Plugins/
lib/TWiki/Plugins/AccessStatsPlugin.pm
Error: Failed to move file 'AccessStatsPlugin_installer' to /usr/lib/cgi-bin/AccessStatsPlugin_installer: Permission denied

I can install manually by extracting the tgz to /var/lib/twiki and then running the installer. But is there a way to fix this? maybe in some config ??

thanks

Forum: 
Jeremy Davis's picture

This soundfs like a permission issue. I double checked with a quick google and it seems others have come across a similar issue. Try this command:

chown -R www-data:www-data /usr/lib/cgi-bin

Does that fix it?

gurpal2000's picture

yes thanks! also i had to do /var/lib/twiki for skins etc.


Add new comment