Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Always use long Windows paths for shared directories #4078

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Conversation

Wiezzel
Copy link

@Wiezzel Wiezzel commented Apr 3, 2019

Name of the share is a hash of the shared directory's path. Any non-canonical forms of the path would break file sharing because they would have a different hash. Therefore we make sure to standardize the
path before computing the hash function.
This commit improves the path standardization by introducing expansion of shortened paths (a.k.a. 8.3 paths, DOS paths). Such paths have been observed during Golem installation as "Jack Daniel's" user.

Name of the share is a hash of the shared directory's path. Any
non-canonical forms of the path would break file sharing because they
would have a different hash. Therefore we make sure to standardize the
path before computing the hash function.
This commit improves the path standardization by introducing expansion
of shortened paths (a.k.a. 8.3 paths, DOS paths). Such paths have been
observed during Golem installation as "Jack Daniel's" user.
Copy link
Contributor

@shadeofblue shadeofblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ba90134f42960c6092b0d8f97198fcf3

@codecov
Copy link

codecov bot commented Apr 3, 2019

Codecov Report

Merging #4078 into b0.19 will decrease coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##            b0.19    #4078      +/-   ##
==========================================
- Coverage   89.24%   89.24%   -0.01%     
==========================================
  Files         205      205              
  Lines       18431    18433       +2     
==========================================
+ Hits        16449    16450       +1     
- Misses       1982     1983       +1

@shadeofblue shadeofblue merged commit 3fcf2f3 into b0.19 Apr 3, 2019
@ghost ghost removed the in progress label Apr 3, 2019
@Wiezzel Wiezzel deleted the long_paths branch April 3, 2019 13:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants