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
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Difference could be because build server runs as local admin and you do not, or vice versa, or they differ in enablement of symlinks/developer mode perhaps.
The walk failure seems to happen with Go 1.10 and Go 1.11, so I don't think it's related to the version of Go.
The issue is that our path acrobatics add a trailing slash (which I guess is there to "punch through" symlinks on Linux), yet Lstat'ing a symlink with a trailing slash blows up on Windows.
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
AudriusButkevicius commentedon Aug 25, 2018
Only the walk one fails for me locally, yet I am still on the rc
calmh commentedon Aug 25, 2018
Difference could be because build server runs as local admin and you do not, or vice versa, or they differ in enablement of symlinks/developer mode perhaps.
AudriusButkevicius commentedon Aug 25, 2018
No, I did make sure both run properly and are not skipped.
calmh commentedon Aug 25, 2018
Yet fails it does
¯\_(ツ)_/¯AudriusButkevicius commentedon Aug 25, 2018
The walk failure seems to happen with Go 1.10 and Go 1.11, so I don't think it's related to the version of Go.
The issue is that our path acrobatics add a trailing slash (which I guess is there to "punch through" symlinks on Linux), yet Lstat'ing a symlink with a trailing slash blows up on Windows.
AudriusButkevicius commentedon Aug 25, 2018
Nvm, my test was wrong, as I had a file symlink.
AudriusButkevicius commentedon Aug 25, 2018
golang/go#27225
calmh commentedon Aug 26, 2018
We take great care to make sure a folder root doesn't end in slash on Windows...
calmh commentedon Aug 26, 2018
Right. But then we do the "rooted". This (new)
fstest should pass, imho:But it does not:
So we undo the efforts of our root normalization stuff from earlier...
lib/fs: Don't append path sep to root in rooted (ref syncthing#5144)
lib/fs: Don't append path sep to root in rooted (ref syncthing#5144)
lib/fs: Don't add path separators at path ends (ref syncthing#5144)
lib/fs: Don't add path separators at end of path (fixes #5144) (#5146)
Merge branch 'release'