mojira.dev
MC-174913

Backup fails when datapack folder contains a symlink

The bug

Trying to back up a world with the games built in backup function will fail if the datapack folder of the world in question contains a symlink to a datapack that is stored in a different location.

Possibly related to MC-136870.

Linked issues

Comments 2

Happens on 1.16 and Windows too with proper NTFS symlinks, not junctions. Additionally, the behaviour that it just proceeds with converting the world even though the backup failed is unacceptable.

This seems to be partially fixed in 1.20 Pre-Release 7 (or earlier, I haven't tested for a while). If the datapack the symlink points to is a .zip file the backup works now. If the target of the symlink is a directory it fails to back up the datapacks, but at least it backs up the rest of the world now.

winauer

(Unassigned)

Community Consensus

(Unassigned)

1.15.2, 20w11a, 20w14a, 20w15a, 20w16a, ..., 1.16.2, 1.16.3, 1.16.4, 20w45a, 20w46a

Retrieved