Skip to content

fix: remove world writable permissions from install folder and binary#544

Merged
luisangelsm merged 1 commit into
YACReader:developfrom
timbretimber:installer-perms2
May 20, 2026
Merged

fix: remove world writable permissions from install folder and binary#544
luisangelsm merged 1 commit into
YACReader:developfrom
timbretimber:installer-perms2

Conversation

@timbretimber
Copy link
Copy Markdown
Contributor

Currently the installer creates the app directory and binaries with world-writable permissions. This allows any unprivileged user to delete or otherwise modify the files. The default install location is under %ProgramFiles% which is generally considered privileged and should only be written to by Administrators. Even if installing to another directory, using inherited permissions should cover any reasonable use case.

Removing these additional permissions lets the directory and binaries inherit the the permissions set on %ProgramFiles%.

@luisangelsm luisangelsm merged commit 328ea1a into YACReader:develop May 20, 2026
12 checks passed
@luisangelsm
Copy link
Copy Markdown
Member

@timbretimber Thank you!!

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

Successfully merging this pull request may close these issues.

2 participants