Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot cd to rclone mounted Drive (FUSE/user filesystem) #12587

Open
Gremious opened this issue Apr 19, 2024 · 1 comment
Open

Cannot cd to rclone mounted Drive (FUSE/user filesystem) #12587

Gremious opened this issue Apr 19, 2024 · 1 comment
Labels
file-system Related to commands and core nushell behavior around the file system needs-triage An issue that hasn't had any proper look platform-specific platform-specific issues

Comments

@Gremious
Copy link

Gremious commented Apr 19, 2024

Describe the bug

Hello, I am on windows 11.

I have network/cloud storage and I have mounted it using rclone mount.

Important to note, this not done as an Administrator (else my normal user would not be privillaged enough see or access the drive);

This creates a drive that I access as if it's a normal system drive:

image

(it's not actually 1PB but rclone just picks a large number when it doesn't know)

In Windows Explorer, I can access it quite fine:

image

The same is true for PowerShell and bash.

However, nushell says directory not found:

┌in ~
└❯ cd W:\
Error: nu::shell::directory_not_found

  × Directory not found
   ╭─[entry #1:1:4]
 1 │ cd W:\
   ·    ─┬─
   ·     ╰── directory not found
   ╰────
  help: W:\ does not exist

How to reproduce

  1. Get rclone
  2. rclone config and add e.g. Google Drive, MEGA, etc. I have tried this with MEGA and it does indeed not work.
  3. rclone mount --vfs-cache-mode writes --dir-cache-time 5s your-name-from-config-here: R: --log-file C:\Users\Username\rclone.txt
  4. cd R:\

Expected behavior

It goes to the directory no problem.

Screenshots

No response

Configuration

key value
version 0.92.3
branch main
commit_hash 5f818ea
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.77.2 (25ef9e3d8 2024-04-09)
rust_channel 1.77.2-x86_64-pc-windows-msvc
cargo_version cargo 1.77.2 (e52e36006 2024-03-26)
build_time 2024-04-16 01:26:35 +01:00
build_rust_channel release
allocator mimalloc
features dataframe, default, sqlite, trash, which
installed_plugins

Additional context

Funny enough, tab-completion works and lists the folders. But then pressing enter to actually go into any of them fails.

@Gremious Gremious added the needs-triage An issue that hasn't had any proper look label Apr 19, 2024
@Gremious
Copy link
Author

Gremious commented Apr 21, 2024

I could right click -> open terminal in windows, but then running a script in said directory is still broken:

┌in P:\<snip>
└❯ nu .\extract_audio.nu
Error: nu::shell::file_not_found

  × File not found
   ╭─[source:1:1]
 1 │ nu
   · ▲
   · ╰── Could not access file '.\extract_audio.nu': "The volume does not contain a recognized file system.\r\nPlease make sure that all required file system drivers are loaded and that the volume is not corrupted. (os error 1005)"
   ╰────

@sholderbach sholderbach added platform-specific platform-specific issues file-system Related to commands and core nushell behavior around the file system labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file-system Related to commands and core nushell behavior around the file system needs-triage An issue that hasn't had any proper look platform-specific platform-specific issues
Projects
None yet
Development

No branches or pull requests

2 participants