Title: Unable to access contents in mtp Device · Issue #4476 · PowerShell/PowerShell · GitHub
Open Graph Title: Unable to access contents in mtp Device · Issue #4476 · PowerShell/PowerShell
X Title: Unable to access contents in mtp Device · Issue #4476 · PowerShell/PowerShell
Description: Steps to reproduce Plug in mobile device in Media Device mode Set-Location to "/run/user/$(bash -c 'echo $UID')/gvfs" Try to navigate to mtp device: A Get-ChildItem shows my device: PS /run/user/1000/gvfs> Get-ChildItem Directory: /run/u...
Open Graph Description: Steps to reproduce Plug in mobile device in Media Device mode Set-Location to "/run/user/$(bash -c 'echo $UID')/gvfs" Try to navigate to mtp device: A Get-ChildItem shows my device: PS /run/user/10...
X Description: Steps to reproduce Plug in mobile device in Media Device mode Set-Location to "/run/user/$(bash -c 'echo $UID')/gvfs" Try to navigate to mtp device: A Get-ChildItem shows my devic...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4476
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to access contents in mtp Device","articleBody":"Steps to reproduce\r\n------------------\r\n- Plug in mobile device in `Media Device` mode\r\n- `Set-Location` to `\"/run/user/$(bash -c 'echo $UID')/gvfs\"`\r\n- Try to navigate to mtp device:\r\nA `Get-ChildItem` shows my device:\r\n```powershell\r\nPS /run/user/1000/gvfs> Get-ChildItem \r\n\r\n\r\n Directory: /run/user/1000/gvfs\r\n\r\n\r\nMode LastWriteTime Length Name \r\n---- ------------- ------ ---- \r\nd-r--- 01/01/70 5:30 AM mtp:host=%5Busb%3A002%2C003%5D\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\nRead only access to all files and folders on the device \r\n\r\nActual behavior\r\n---------------\r\n\r\n```powershell\r\nPS /run/user/1000/gvfs> cd ./mtp:host=%5Busb%3A002%2C003%5D/ \r\ncd : Cannot find drive. A drive with the name 'run/user/1000/gvfs/mtp' does not exist.\r\nAt line:1 char:1\r\n+ cd ./mtp:host=%5Busb%3A002%2C003%5D/\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : ObjectNotFound: (run/user/1000/gvfs/mtp:String) [Set-Location], DriveNotFoundExc \r\n eption\r\n + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPS /home/user> lsb_release -a \r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 17.04\r\nRelease:\t17.04\r\nCodename:\tzesty\r\n\r\n\r\nPS /home/user> $PSVersionTable\r\nName Value \r\n---- ----- \r\nPSVersion 6.0.0-alpha \r\nPSEdition Core \r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \r\nBuildVersion 3.0.0.0 \r\nGitCommitId v6.0.0-alpha.16 \r\nCLRVersion \r\nWSManStackVersion 3.0 \r\nPSRemotingProtocolVersion 2.3 \r\nSerializationVersion 1.1.0.1\r\n\r\nPS /home/user> screenfetch \r\n ./+o+- sahu@Dell-Inspiron\r\n yyyyy- -yyyyyy+ OS: Ubuntu 17.04 zesty\r\n ://+//////-yyyyyyo Kernel: x86_64 Linux 4.10.0-19-generic\r\n .++ .:/++++++/-.+sss/` Uptime: 20m\r\n .:++o: /++++++++/:--:/- Packages: 3267\r\n o:+o+:++.`..```.-/oo+++++/ Shell: powershell\r\n .:+o:+o/. `+sssoo+/ Resolution: 1366x768\r\n .++/+:+oo+o:` /sssooo. WM: Compiz\r\n /+++//+:`oo+o /::--:. WM Theme: Numix\r\n \\+/+o+++`o++o ++////. CPU: Intel Core i5-4200U CPU @ 1.5GHz\r\n .++.o+++oo+:` /dddhhh. GPU: Mesa DRI Intel(R) Haswell Mobile \r\n .+.o+oo:. `oddhhhh+ RAM: 1604MiB / 5853MiB\r\n \\+.++o+o``-````.:ohdhhhhh+ \r\n `:o+++ `ohhhhhhhhyo++os: \r\n .o:`.syhhhhhhh/.oo++o` \r\n /osyyyyyyo++ooo+++/ \r\n ````` +oo+++o\\: \r\n `oo++.\r\n```\r\n","author":{"url":"https://github.com/mrsauravsahu","@type":"Person","name":"mrsauravsahu"},"datePublished":"2017-08-03T07:35:11Z","url":"https://github.com/PowerShell/PowerShell/issues/4476"}
| 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:4b3a3219-6cc6-53bd-ac36-5e5b0f481dd5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EAE4:227A70:14DCE6:1C821E:6AFD4D4C |
| html-safe-nonce | d1297c805660a0957810431cdc90dc7ff457f06f66e7ff7df90f3fb0fa4970a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUU0OjIyN0E3MDoxNERDRTY6MUM4MjFFOjZBRkQ0RDRDIiwidmlzaXRvcl9pZCI6Ijc3Njk3NTA4Nzk5ODg0MzYzMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53bb51248812be473864159cfce88c9fe24bd9f322913062ec37a5878afa3523 |
| hovercard-subject-tag | issue:247617375 |
| 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/4476/issue_layout |
| twitter:image | https://opengraph.githubassets.com/242550ee1c57df18052dda086058521e274166fd466de1fea8053c8769c3fb1b/PowerShell/PowerShell/issues/4476 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/242550ee1c57df18052dda086058521e274166fd466de1fea8053c8769c3fb1b/PowerShell/PowerShell/issues/4476 |
| og:image:alt | Steps to reproduce Plug in mobile device in Media Device mode Set-Location to "/run/user/$(bash -c 'echo $UID')/gvfs" Try to navigate to mtp device: A Get-ChildItem shows my device: PS /run/user/10... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrsauravsahu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| 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 | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width