Skip to content

Commit

Permalink
#400 clear umask before installing scripting addition
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Feb 4, 2020
1 parent 2d38010 commit 1452ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Ignore minimized windows when an application is unhidden (required by some applications like Chrome..) [#300](https:/koekeishiya/yabai/issues/300)
- Don't add window to the window tree when moved to a different space when the window is minimized (required by some applications like Chrome..) [#382](https:/koekeishiya/yabai/issues/382)
- Config file is no longer required for yabai to start [#393](https:/koekeishiya/yabai/issues/393)
- Clear umask before trying to install scripting addition [#400](https:/koekeishiya/yabai/issues/400)

## [2.2.2] - 2020-01-20
### Changed
Expand Down
2 changes: 2 additions & 0 deletions src/osax/sa.m
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ static bool scripting_addition_remove(void)

int scripting_addition_install(void)
{
umask(S_IWGRP | S_IWOTH);

if ((scripting_addition_is_installed()) &&
(!scripting_addition_remove())) {
return 1;
Expand Down

0 comments on commit 1452ddc

Please sign in to comment.