Libraries (*.so and .so. files) do not require the executable bit (x) to be set in Linux. Strictly speaking, it should never be set for libraries. Because libraries are not executable files in Linux, they are libraries.
So please change the file permissions of your anki files inside your anki package with the following directions:
- change your current directory and go into the anki folder.
- run the following two commands inside your anki folder to correct the permissions, you will need both of them:
find . -type f -iname *.so.* -exec chmod 644 {} \;
find . -type f -iname *.so -exec chmod 644 {} \;
This will remove the executable bit (x) of all *.so.*
and *.so
library files from:
-rwx------ ... libraryfilename.so
to
-rw-r--r-- ... libraryfilename.so
- You can check all permissions inside your anki directory with the command tree if the package
tree
is installed:
tree -p
The only files in the anki folder that should have the executable bit set are:
- The anki executable
- shell script files like install.sh and uninstall.sh
- Python script files with the *.py extension.
- The QtWebEngineProcess executable in ./lib/PyQt6/Qt6/libexec/QtWebEngineProcess in the anki directory