mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 12:57:12 -05:00
fix: keep EXDEV rename symlink targets relative
This commit is contained in:
parent
28d809f2f8
commit
3d81e24f32
3 changed files with 212 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ _rename_exdev_rel_symlink(const fuse_req_ctx_t *ctx_,
|
|||
return rv;
|
||||
|
||||
linkpath = newfusepath_;
|
||||
target = "/.mergerfs_rename_exdev";
|
||||
target = ".mergerfs_rename_exdev";
|
||||
target /= oldfusepath_;
|
||||
target = target.lexically_relative(linkpath.parent_path());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue