feo-cz / win-sshfs

Fork of http://code.google.com/p/win-sshfs/
BSD 3-Clause "New" or "Revised" License
1.27k stars 126 forks source link

Symlinks to files are inaccessible #131

Open jfewx opened 7 years ago

jfewx commented 7 years ago

Technical data

WinSshFS

Dokan driver

Enviroment

Support


Details

Symlinks to files (instead of to directories) on the Linux target (Centos 6, latest), are treated as directories/folders making them inaccessible. Windows Explorer and any program attempting to open said files, fails with an invalid directory error or some such. Can not open or copy the files using explorer or any other program.

Our build environment produces a bunch of symlinks to the latest file produced, e.g. latest_build_output.log -> longest_dang_named_log_file_with_a_millisecond_timestamp.PID_that_produced_it Poor Windows never knows what program to use on a file ending in .6234 one build and .33456 the next. Thus it always is symlinked to a latest.log simple name and after a build I'll just refresh the opened file in my editor to get the latest. Due to this bug I can't do that, instead I have to check the target of the symlink using a shell session, and open the true file by name (and convince Windows it is indeed yet another text file despite the strange extension).

LordMonoxide commented 7 years ago

The error displayed is:

<path> is not accessible.

Incorrect function.
rasa commented 7 years ago

Confirmed this is still an issue with Dokany 1.0.2 on Windows 7 x64 with Win-sshfs 1.6.1.13 RC5.

h4de5 commented 7 years ago

still persists on Dokany 1.0.3 on Windows 10 and Win-sshfs 1.6.1.13 RC5.