How to fix read/write permissions Failed! error during TestLink Install

Overview

In this tutorial, we will go through the folder read/write errors during the new installation of TestLink instance on the Linux machine.

Linux machine

TestLink version: 1.9.2

templates_c directory

Error:

Checking if /var/www/html/testlink-code/gui/templates_c directory is writable (by user used to run webserver process)

 

read write errors TestLink

Fix:

Open terminal window

Issue the following command.

$ sudo chmod -R a+rwx /var/www/html/testlink-code/gui/templates_c

The above command is an example. We need to replace the exact path on your install for the templates directory.

 

Failed! logs directory

The failed directory exists error.

Fix commands: The following commands would fix the errors for the failed logs directory errors during the new install of TestLink.

$ sudo mkdir /var/testlink/
$ sudo mkdir /var/testlink/logs
$ sudo chmod -R a+rwx /var/testlink/

 

Failed! upload_area directory

Fix commands: The following commands would fix the errors for the failed upload-area directory errors during the new install of TestLink.

$ sudo mkdir /var/testlink/

$ sudo mkdir /var/testlink/upload_area/

$ sudo chmod -R a+rwx /var/testlink/

 

The above commands would fix the folder errors during the TestLink install.

After fixing the folder errors and permissions, re-launch the TestLink web installer to continue with the installation.