fuse-friends / fuse-native

Multithreaded FUSE bindings for Node JS.
203 stars 29 forks source link

[BUG] Issue creating symlink caused by incomplete path for src passed to callback #31

Closed paulrobello closed 3 years ago

paulrobello commented 3 years ago

When i do the following: cd somedir ln -s theFile theLink

the src param is just the file name theFile the dest param is the full path /somedir/theLink

I cant resolve the src param without knowing the current working dir. The src param should be the full path /somedir/theFile

paulrobello commented 3 years ago

It appears I was over complicating it. Simply putting the src provided into the target that then gets returned from readlink seems to work fine.