Title: Namespace variable notation referencing the FileSystem provider is broken on Unix platforms · Issue #3245 · PowerShell/PowerShell · GitHub
Open Graph Title: Namespace variable notation referencing the FileSystem provider is broken on Unix platforms · Issue #3245 · PowerShell/PowerShell
X Title: Namespace variable notation referencing the FileSystem provider is broken on Unix platforms · Issue #3245 · PowerShell/PowerShell
Description: Steps to reproduce Set-Location $HOME ${/:foo.txt} = 'hi, mom' Get-Content foo.txt Expected behavior hi, mom Actual behavior The 2nd line causes the following error: Access to the path '/:foo.txt' is denied. .... Please see this explanat...
Open Graph Description: Steps to reproduce Set-Location $HOME ${/:foo.txt} = 'hi, mom' Get-Content foo.txt Expected behavior hi, mom Actual behavior The 2nd line causes the following error: Access to the path '/:foo.txt' ...
X Description: Steps to reproduce Set-Location $HOME ${/:foo.txt} = 'hi, mom' Get-Content foo.txt Expected behavior hi, mom Actual behavior The 2nd line causes the following error: Access to the path '...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3245
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Namespace variable notation referencing the FileSystem provider is broken on Unix platforms","articleBody":"Steps to reproduce\r\n------------------\r\n\r\n```powershell\r\nSet-Location $HOME\r\n${/:foo.txt} = 'hi, mom'\r\nGet-Content foo.txt\r\n````\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```powershell\r\nhi, mom\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\nThe 2nd line causes the following error:\r\n\r\n```\r\nAccess to the path '/:foo.txt' is denied.\r\n....\r\n```\r\n\r\nPlease see [this explanation](https://github.com/PowerShell/PowerShell/issues/2268#issuecomment-283755725) for why `${/:foo.txt} = 'hi, mom'` - whose _Windows_ equivalent is `${c:foo.txt} = 'hi, mom'` - should work.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-alpha (v6.0.0-alpha.16) on Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-03-03T03:26:16Z","url":"https://github.com/PowerShell/PowerShell/issues/3245"}
| 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:19ff3aed-bef7-36a6-e501-8187f34f9414 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E68:19FFE:1066F:15CB2:6AFD282E |
| html-safe-nonce | 2b5faf7236ef710e001b5b3a2047cbb18f4929184e6a0aa112a04be2c5a94794 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTY4OjE5RkZFOjEwNjZGOjE1Q0IyOjZBRkQyODJFIiwidmlzaXRvcl9pZCI6IjEyNjI3ODEzNzk2NDk1NDYyODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 00bf9bf508b3dd39c3d7215b15a27f876d331cbd67524e30ac19699347ecf3a8 |
| hovercard-subject-tag | issue:211585492 |
| 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/PowerShell/PowerShell/3245/issue_layout |
| twitter:image | https://opengraph.githubassets.com/31994da41bf7b647b38d0bc56a5e79f8722c8768e0e33e0af51d6c0434294428/PowerShell/PowerShell/issues/3245 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/31994da41bf7b647b38d0bc56a5e79f8722c8768e0e33e0af51d6c0434294428/PowerShell/PowerShell/issues/3245 |
| og:image:alt | Steps to reproduce Set-Location $HOME ${/:foo.txt} = 'hi, mom' Get-Content foo.txt Expected behavior hi, mom Actual behavior The 2nd line causes the following error: Access to the path '/:foo.txt' ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width