cd into mounted directory is empty #1141
Unanswered
EvanFishbein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using macfuse/osxfuse, sshfs for more than a decade, but I started having a problem with mounted directories since upgrading to macos 15.7.3. I mount a directory, e.g. ~/scr and if ls ~/scr; I'll see the contents, but if I cd ~/scr and then ls .; I'll see nothing. Any suggestions to solve this would be helpful.
If I start sshfs with options -odebug,sshfs_debug,loglevel=debug
and run the ls ~scr
The debug will contain:
[01374] LSTAT
[01374] ATTRS 41bytes (2ms)
[01375] LSTAT
[01375] STATUS 33bytes (2ms)
[01376] EXTENDED
[01376] EXTENDED_REPLY 97bytes (1ms)
[01377] LSTAT
[01377] STATUS 33bytes (3ms)
[01378] EXTENDED
[01378] EXTENDED_REPLY 97bytes (2ms)
[01379] EXTENDED
[01379] EXTENDED_REPLY 97bytes (2ms)
[01380] OPENDIR
[01380] HANDLE 17bytes (1ms)
[01381] READDIR
[01382] READDIR
[01381] NAME 11099bytes (4ms)
[01383] READDIR
[01384] READDIR
[01382] NAME 11533bytes (6ms)
[01385] READDIR
[01386] READDIR
[01383] NAME 12348bytes (4ms)
[01387] READDIR
[01388] READDIR
[01384] NAME 12653bytes (6ms)
[01389] READDIR
[01390] READDIR
[01385] NAME 7560bytes (9ms)
[01386] STATUS 32bytes (9ms)
[01387] STATUS 32bytes (6ms)
[01388] STATUS 32bytes (6ms)
[01389] STATUS 32bytes (4ms)
[01390] STATUS 32bytes (4ms)
[01391] READDIR
[01392] READDIR
[01393] CLOSE
[01391] STATUS 32bytes (0ms)
[01392] STATUS 32bytes (0ms)
[01393] STATUS 28bytes (0ms)
but if I run. cd scr ; ls .
the log only shows
[01394] LSTAT
[01394] ATTRS 41bytes (2ms)
[01395] LSTAT
[01395] ATTRS 41bytes (1ms)
[01396] OPEN
[01397] LSTAT
[01396] HANDLE 17bytes (1ms)
[01397] ATTRS 41bytes (1ms)
[01398] CLOSE
[01398] STATUS 28bytes (1ms)
[01399] OPEN
[01400] LSTAT
[01399] HANDLE 17bytes (2ms)
[01400] ATTRS 41bytes (2ms)
[01401] LSTAT
[01401] STATUS 33bytes (1ms)
[01402] LSTAT
[01402] STATUS 33bytes (2ms)
[01403] CLOSE
[01403] STATUS 28bytes (1ms)
[01404] LSTAT
[01404] STATUS 33bytes (1ms)
[01405] EXTENDED
[01405] EXTENDED_REPLY 97bytes (1ms)
[01406] LSTAT
[01406] STATUS 33bytes (3ms)
[01407] EXTENDED
[01407] EXTENDED_REPLY 97bytes (2ms)
without any of the READDIR commands. Also note that the output from the command is only ~/scr
Beta Was this translation helpful? Give feedback.
All reactions