WorldEdit

WorldEdit

43M Downloads

Symbolic links falsely throw "Path outside root"

LadyCailinBot opened this issue ยท 3 comments

commented

WORLDEDIT-2268 - Reported by Eli.Woods

I was attempting to symlink schematic subfolders from one server to another.

The offending line is here:
https://github.com/sk89q/worldedit/blob/master/src/main/java/com/sk89q/worldedit/WorldEdit.java#L828

The symlink are returning the path on disk, which is outside root. I would suggest adding a config option to whitelist certain roots.

commented

Comment by sk89q

The question is: should we change it?

commented

Comment by wizjany

files:
    allow-symbolic-links: true```