SFTP doesn't follow symlinks Follow
Under the Deployment window in PyCharm, I added an SFTP connection to a remote Linux server.
It mounts correctly and I'm able to navigate my remote files.
However, I can't navigate down any symlinks.
Is there a setting I can change to correct this?
I use other SFTP tools with the same remote server and I can navigate down the symlinks.
One tool (sshfs) has an explicit option to tell it to follow symlinks, so wondering if I just need to find it in PyCharm or if it's a bug.
Please sign in to leave a comment.
FTP Deployment plugin doesn't currently support symlinks; using them may result in various issues - see https://youtrack.jetbrains.com/issue/WI-16908, https://youtrack.jetbrains.com/issue/WI-34812, https://youtrack.jetbrains.com/issue/WI-19317, https://youtrack.jetbrains.com/issue/WI-1974, https://youtrack.jetbrains.com/issue/WI-7326, etc.
Hi @Elena, I've gone through the issues you mentioned.
These three issues are about difficulties with syncing (or upload/download) remote directories with local directories:
https://youtrack.jetbrains.com/issue/WI-34812
https://youtrack.jetbrains.com/issue/WI-19317
https://youtrack.jetbrains.com/issue/WI-7326
I'm not asking to be able to sync with symbolically linked files/directories. I'm simply asking to be able navigate these symbolic files use the Remote Host window.
The ability to see and expand symbolically linked directories is a basic functionality that every FTP tool I've ever used has had. From the PyCharm development team's perspective, as far as I know, it should be a trivial case of add a switch somewhere to follow symbolic links.
I would would urge the PyCharm team to make this a higher priority if it is indeed not supported. I suspect it would not be a difficult fix.
As for the other two issues you pointed out..
This issue appears to be a very corner case bug that would likely be resolved by resolving my issue:
https://youtrack.jetbrains.com/issue/WI-1974
And lastly this one is just a duplicate of my issue that has not been answered:
https://youtrack.jetbrains.com/issue/WI-16908
I strongly support this request. Being able to browse the TYPO3 installation, that is almost always a symlink, is very important.