Title: macOS temp folders are symlinks, breaking prefix checks for paths · Issue #1326 · microsoft/python-language-server · GitHub
Open Graph Title: macOS temp folders are symlinks, breaking prefix checks for paths · Issue #1326 · microsoft/python-language-server
X Title: macOS temp folders are symlinks, breaking prefix checks for paths · Issue #1326 · microsoft/python-language-server
Description: On macOS, /var is a symlink to /private/var. This makes the check when removing the temp folder from the search paths fail, as Python reports the "real" path after symlink resolution. For example, we generate tempWorkingDir: /var/folders...
Open Graph Description: On macOS, /var is a symlink to /private/var. This makes the check when removing the temp folder from the search paths fail, as Python reports the "real" path after symlink resolution. For example, ...
X Description: On macOS, /var is a symlink to /private/var. This makes the check when removing the temp folder from the search paths fail, as Python reports the "real" path after symlink resolution. For...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1326
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS temp folders are symlinks, breaking prefix checks for paths","articleBody":"On macOS, `/var` is a symlink to `/private/var`. This makes the check when removing the temp folder from the search paths fail, as Python reports the \"real\" path after symlink resolution. For example, we generate `tempWorkingDir`:\r\n\r\n```\r\n/var/folders/th/4ly8df9956bfr2r2wpd51fwc0000gn/T/gfqxpe4c.ozq\r\n```\r\n\r\nBut Python says it's:\r\n\r\n```\r\n/private/var/folders/th/4ly8df9956bfr2r2wpd51fwc0000gn/T/gfqxpe4c.ozq\r\n```\r\n\r\nWhich does not begin with the expected path. \r\n\r\nRelated to #1324 but not fully fixed.","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-07-12T22:58:25Z","url":"https://github.com/microsoft/python-language-server/issues/1326"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c77d0cb9-78da-53e5-bdec-fa9a7017214e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C04C:3F8DC1:181E64:1F9BC8:6AFE57F6 |
| html-safe-nonce | 261ab85d9a23b5ffa18b04446778b639c39ca87566878bd17e01fd62321de0d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDRDOjNGOERDMToxODFFNjQ6MUY5QkM4OjZBRkU1N0Y2IiwidmlzaXRvcl9pZCI6IjM4NzM5NTE1NDM3NjE3MjEzMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c2aefb09cf04207cbc2d2e6d80d799c922274af41b5cdfbff7d992b3cb64ebe4 |
| hovercard-subject-tag | issue:467629557 |
| 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/microsoft/python-language-server/1326/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8fae879442b7a049820a9579653cea66e8044d52c113acf7736b7fdd9cd3cdd7/microsoft/python-language-server/issues/1326 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fae879442b7a049820a9579653cea66e8044d52c113acf7736b7fdd9cd3cdd7/microsoft/python-language-server/issues/1326 |
| og:image:alt | On macOS, /var is a symlink to /private/var. This makes the check when removing the temp folder from the search paths fail, as Python reports the "real" path after symlink resolution. For example, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width