Some parts of this article have been written with AI. Be aware that AI can make mistakes.
Applies to : Vista for Linux Vista for Windows

Error 3020 - Access denied: insufficient permissions to write to the shape libraries folder.

Symptoms

You encounter the following error message: "[3020] Access denied: insufficient permissions to write to the shape libraries folder." when downloading or updating a shape library in the shape libraries manager (Tools > Manage shape libraries).

Causes

Vista stores downloaded shape libraries in a folder of your user profile, and your user account cannot write to this folder. This can happen if:

  • The folder permissions were changed, or the folder was created by another user account (for example when running Vista as administrator or with sudo).
  • The folder or one of its files is marked as read-only.
  • A security software (such as controlled folder access on Windows) blocks Vista from writing files.

The shape libraries folder is located at:

  • Windows: %LOCALAPPDATA%\Vista\collections
  • Linux: ~/.local/share/Vista/collections

Solutions

  1. Check that your user account has write permissions on the shape libraries folder:
    • Windows: right-click the folder, select Properties > Security, and check that your account has the Write permission.
    • Linux: run ls -ld ~/.local/share/Vista/collections to check the owner and permissions. If the folder belongs to another user, run sudo chown -R $USER ~/.local/share/Vista to take ownership back.
  2. Clear the Read-only attribute of the folder and its files if needed.
  3. If a security software blocks Vista, add Vista to its list of allowed applications.
  4. Retry the download.