Skip to content

Commit 396ae2b

Browse files
committed
do not check bundled plugins for write permissions
fixes dokuwiki#4441 replaces dokuwiki#4442
1 parent f7f57de commit 396ae2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/plugins/extension/Installer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ public static function ensurePermissions(Extension $extension)
406406
{
407407
$target = $extension->getInstallDir();
408408

409+
// bundled plugins do not need to be writable
410+
if ($extension->isBundled()) {
411+
return;
412+
}
413+
409414
// updates
410415
if (file_exists($target)) {
411416
if (!is_writable($target)) throw new Exception('noperms');

0 commit comments

Comments
 (0)