Title: Misleading error message when target directory does not exist · Issue #207 · databricks/setup-cli · GitHub
Open Graph Title: Misleading error message when target directory does not exist · Issue #207 · databricks/setup-cli
X Title: Misleading error message when target directory does not exist · Issue #207 · databricks/setup-cli
Description: install.sh checks that $TARGET is writable, and if not it prompts the user to rerun the script using sudo. On a clean macOS install, /usr/local/bin does not exist so the user gets this error message even when run using sudo.
Open Graph Description: install.sh checks that $TARGET is writable, and if not it prompts the user to rerun the script using sudo. On a clean macOS install, /usr/local/bin does not exist so the user gets this error messag...
X Description: install.sh checks that $TARGET is writable, and if not it prompts the user to rerun the script using sudo. On a clean macOS install, /usr/local/bin does not exist so the user gets this error messag...
Opengraph URL: https://github.com/databricks/setup-cli/issues/207
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Misleading error message when target directory does not exist","articleBody":"`install.sh` checks that `$TARGET` is writable, and if not it prompts the user to rerun the script using `sudo`.\n\nOn a clean macOS install, `/usr/local/bin` does not exist so the user gets this error message even when run using `sudo`.","author":{"url":"https://github.com/benberryallwood","@type":"Person","name":"benberryallwood"},"datePublished":"2025-11-13T09:06:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/207/setup-cli/issues/207"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2e08f41e-ffab-12d0-3a38-ef0de6322fac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92DC:113E66:2CD209:38AEBF:69909C18 |
| html-safe-nonce | 75dac4f9812eae532c79018b80c1cf0b458528ccf91efc796e434382d1018fe8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkRDOjExM0U2NjoyQ0QyMDk6MzhBRUJGOjY5OTA5QzE4IiwidmlzaXRvcl9pZCI6IjQ3MDc0OTQxNTIwMjMwODgxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fdadfb4e1bd91f0d50702cadbf0bb0bd338a90feaad9274b241362f2c8178c07 |
| hovercard-subject-tag | issue:3620246308 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/databricks/setup-cli/207/issue_layout |
| twitter:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| twitter:card | summary |
| og:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| og:image:alt | install.sh checks that $TARGET is writable, and if not it prompts the user to rerun the script using sudo. On a clean macOS install, /usr/local/bin does not exist so the user gets this error messag... |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | benberryallwood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/databricks/setup-cli git https://github.com/databricks/setup-cli.git |
| octolytics-dimension-user_id | 4998052 |
| octolytics-dimension-user_login | databricks |
| octolytics-dimension-repository_id | 620442111 |
| octolytics-dimension-repository_nwo | databricks/setup-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 620442111 |
| octolytics-dimension-repository_network_root_nwo | databricks/setup-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width