You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/user/1000/gvfs
Mode LastWriteTime Length Name
---------------------------
d-r---01/01/705:30 AM mtp:host=%5Busb%3A002%2C003%5D
Expected behavior
Read only access to all files and folders on the device
Actual behavior
PS /run/user/1000/gvfs> cd ./mtp:host=%5Busb%3A002%2C003%5D/
cd : Cannot find drive. A drive with the name 'run/user/1000/gvfs/mtp' does not exist.
At line:1 char:1+ cd ./mtp:host=%5Busb%3A002%2C003%5D/+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (run/user/1000/gvfs/mtp:String) [Set-Location], DriveNotFoundExc
eption
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Steps to reproduce
Media DevicemodeSet-Locationto"/run/user/$(bash -c 'echo $UID')/gvfs"A
Get-ChildItemshows my device:Expected behavior
Read only access to all files and folders on the device
Actual behavior
Environment data