Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: overly permissive file permissions hunspell dictionaries #6283

Open
irgendwr opened this issue Feb 24, 2025 · 0 comments
Open

Linux: overly permissive file permissions hunspell dictionaries #6283

irgendwr opened this issue Feb 24, 2025 · 0 comments

Comments

@irgendwr
Copy link

Describe the bug

  • /usr/share/typora/resources/packages/node-spellchecker/vendor/hunspell_dictionaries/en_US.dic
  • /usr/share/typora/resources/packages/node-spellchecker/vendor/hunspell_dictionaries/en_US.aff

have rwxrwxrwx (777) permissions, which means that every user on the system can write to the file and it is marked as executable.

See #4669 and #5979 for previous issues that are similar.

To Reproduce

  1. Download and install Linux version
  2. Look at ls -lah /usr/share/typora/resources/packages/node-spellchecker/vendor/hunspell_dictionaries/*

Expected behavior
The files should have rw-r--r-- (644) permissions instead.

Desktop (please complete the following information):

  • OS: Arch Linux

Typora Version
1.10.7

Additional context
Previous versions did not have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant