Closed svetogam closed 1 month ago
I tested this between 3 partitions. 2 had filesystem ext4 and 1 had filesystem ntfs.
I think #78440 could be the same bug. That MRP works for me and doesn't move between partitions on my system.
CC @bruvzg @KoBeWi
Can't reproduce on Windows.
Can't reproduce on macOS, but is reproducible on Linux.
Tested versions
System information
Godot v4.4.dev2 - Debian GNU/Linux 11 (bullseye) 11 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 660 (nvidia) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)
Issue description
When the two parameters of
DirAccess.rename_absolute()
are on different partitions, it returns error code1
and does nothing. I expect it to move the file instead. It works correctly when the two parameters are on the same partition, and when usingDirAccess.copy_absolute()
instead.Steps to reproduce
drive_1
anddrive_2
variables to paths on different partitions.return
line.1
and the last two booleans arefalse
.Minimal reproduction project (MRP)
rename-between-partitions.zip