Applies to :
Vista for Linux
Vista for Windows
Error 3040 - Access denied: insufficient permissions to delete this shape library.
Symptoms
You encounter the following error message: "[3040] Access denied: insufficient permissions to delete this shape library." when deleting a shape library from the Installed tab of the shape libraries manager (Tools > Manage shape libraries).
Causes
Your user account does not have the permissions required to delete the library file. This can happen if:
- The file was created by another user account (for example when running Vista as administrator or with
sudo). - The file or its folder is marked as read-only.
- A security software blocks the deletion.
The shape libraries folder is located at:
- Windows:
%LOCALAPPDATA%\Vista\collections - Linux:
~/.local/share/Vista/collections
Solutions
- Check the permissions of the shape libraries folder and its files:
- Windows: right-click the file, select Properties > Security, and check that your account has the Modify permission.
- Linux: run
ls -l ~/.local/share/Vista/collectionsto check the owner and permissions. If the files belong to another user, runsudo chown -R $USER ~/.local/share/Vistato take ownership back.
- Clear the Read-only attribute of the file if needed.
- Retry the deletion. You can also delete the ZIP file manually from the shape libraries folder while Vista is closed.