File permissions are all wrong

I took a closer look in the new tar.bz2 file.
When extracted on Linux, all file permissions are wrong.
Library files shouldn’t be executable. The x bit shouldn’t be set.
The same applies to html files.

But in your tar archive most of your data and library files have an x bit set:


correct would be


You have even set the x bit for a simple Text file.

-rwxr-xr-x 1 XXXXXX  XXXXXX        48 Feb  7 04:39 buildinfo.txt

Only files like executables, bash scripts etc. should have the x bit set.

1 Like

Dear Anki Developer,

Is it so difficult for you to fix your stuff?

Just do a:

find anki-2.1.42-linux -type f -print0 | xargs -0 chmod 644 
chmod 700 anki-2.1.42-linux/*.sh
chmod 700 anki-2.1.42-linux/bin/Anki 
chmod 700 anki-2.1.42-linux/bin/PyQt5/Qt/libexec/QtWebEngineProcess 

to fix the permissions.
And then repackage the anki-2.1.42-linux.tar.bz2 file with the according tar command to store permissions.

This error is still valid in Anki version 2.1.44.

Please fix your packages.