Permission problem. Install extensions

Hi, I am trying to install an extension and got this error-

‘Permission problem: Your KNIME installation directory seems to be read-only, maybe because KNIME was installed by a different user, eg., the system administrator. Intalling extensions or updating KNIME without write permissions may cause problems. Do you really want to continue?’

After ignoring the error and continuing with the process, I was thrown with the following error.

I changed the permissions of the directory where I installed Knime using chmod , yet the error remains.

Should I change the ‘owner’ of the directory as well using ‘chown’ or is something else causing the problem? Because, when I checked the .tar.gz directory (zipped), the owner of the files showed a different name than mine, I’m imagining it may be one of the maintainers. please correct me if i’m wrong

I use KNIME 5.4.3 and Arch Linux 6.13.8-arch1-1. And my linux proficiency is just over the beginner level.

Please can someone help me?!

Thanks in advance

Found a solution. Had to change write permission for the specified directory where the extension is supposed to be installed. *Note: Should pay more attention to error messages and understand the cause

After continuing with the first ‘Permission problem’ error and trying to install the extension, the second error ‘Problem Occurred’ said in the last line ‘…Could not create directory /usr/share/java/knime-desktop/licenses.’ So I checked the permissions of the folder ‘/usr/share/jave/knime-desktop’. It has rwx permission for only the root user, so I changed the permission using sudo chmod -R 777 /usr/share/jave/knime-desktop
That solved the issue.

1 Like

Thanks for posting your solution!

1 Like