[GH-ISSUE #577] Have to add "/bin/sh" to Accessibility to launch Barrier #454

Closed
opened 2026-05-05 06:27:14 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @fredsted on GitHub (Mar 1, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/577

Operating Systems

Server: macOS 10.14.6

Client: macOS 10.15.3

Barrier Version

Screen Shot 2020-03-01 at 17 44 34

Steps to reproduce bug

This was an issue on my 10.15 machine, but not on 10.14.

I installed Barrier via homebrew, brew install homebrew/cask/barrier.

Upon starting it for the first time, the Accessibility settings dialog came up and wanted me to add sh to the list of applications. I could not start Barrier without doing so.

So I added /bin/sh to the list by clicking on the plus button, and it worked; Barrier started without any problems after that.

I'm creating this bug ticket because it seems a little strange, and on my 10.14 machine, it correctly asked me to add "Barrier", and it was also shown on the list of apps without having to add it with the + button.

Originally created by @fredsted on GitHub (Mar 1, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/577 ### Operating Systems ### Server: macOS 10.14.6 Client: macOS 10.15.3 ### Barrier Version ### ![Screen Shot 2020-03-01 at 17 44 34](https://user-images.githubusercontent.com/1552287/75629687-52ea9d80-5be4-11ea-8dba-41e4ca1562c9.png) ### Steps to reproduce bug ### This was an issue on my 10.15 machine, but not on 10.14. I installed Barrier via homebrew, `brew install homebrew/cask/barrier`. Upon starting it for the first time, the Accessibility settings dialog came up and wanted me to add `sh` to the list of applications. I could not start Barrier without doing so. So I added `/bin/sh` to the list by clicking on the plus button, and it worked; Barrier started without any problems after that. I'm creating this bug ticket because it seems a little strange, and on my 10.14 machine, it correctly asked me to add "Barrier", and it was also shown on the list of apps without having to add it with the + button.
Author
Owner

@davidmwhynot commented on GitHub (Mar 15, 2020):

Would like to add that, in addition to this, if you download Barrier-2.3.2-Release.dmg from the release page and try to run it, with the default macOS security settings, you are not able to launch barrier due to macOS being unable to verify that the .app does not contain malware.
To get around this, you have to control + click the .app and then click open, and then open is an option in the security prompt.
After all of this, you have to do what is indicated in @fredsted 's issue above, adding /bin/sh to the allowed Accessibility apps.
This is using 10.15.3.

<!-- gh-comment-id:599253286 --> @davidmwhynot commented on GitHub (Mar 15, 2020): Would like to add that, in addition to this, if you download `Barrier-2.3.2-Release.dmg` from the release page and try to run it, with the default macOS security settings, you are not able to launch barrier due to macOS being unable to verify that the .app does not contain malware. To get around this, you have to control + click the .app and then click open, and then open is an option in the security prompt. After all of this, you have to do what is indicated in @fredsted 's issue above, adding /bin/sh to the allowed Accessibility apps. This is using 10.15.3.
Author
Owner

@cksachdev commented on GitHub (Jun 11, 2020):

I am facing the same issue.
image

OS: macOS Catalina 10.15.5

<!-- gh-comment-id:642538198 --> @cksachdev commented on GitHub (Jun 11, 2020): I am facing the same issue. ![image](https://user-images.githubusercontent.com/37770/84370797-63081500-abf6-11ea-948e-ab2f2cd6cdda.png) OS: macOS Catalina 10.15.5
Author
Owner

@simons-public commented on GitHub (Jun 13, 2020):

This was fixed in newer builds with #487. You can download newer builds from Azure Pipelines until they make another release version.

<!-- gh-comment-id:643656949 --> @simons-public commented on GitHub (Jun 13, 2020): This was fixed in newer builds with #487. You can download newer builds from Azure Pipelines until they make another release version.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 28, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:699724355 --> @github-actions[bot] commented on GitHub (Sep 28, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#454
No description provided.