Mojira Archive
MC-264574

symlink does not work for root world folder

symlink whitelist works for files inside a world folder, but if the root world folder is a link or junction, the world cannot be loaded. the following error is printed in log:

Failed to read level World data
...\.minecraft\saves\World is not a directory

steps to reproduce:

create allowed_symlinks.txt in .minecraft folder with content "[regex].+"
create a world
move the world to .minecraft\test\world
open cmd in .minecraft folder
mklink /J saves\world test\world
restart minecraft and attempt to load into the world

Fixed

Godlander

[Mojang] Bartosz Bok

2023-08-02, 09:32 PM

2023-09-05, 11:25 AM

2023-09-05, 11:25 AM

0

5

Confirmed

(Unassigned)

Symlink

1.20.1

1.20.2 Pre-release 1