Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DirAccess.remove_absolute cannot remove broken symlinks #102539

Closed
Ryhon0 opened this issue Feb 7, 2025 · 0 comments · Fixed by #102545
Closed

DirAccess.remove_absolute cannot remove broken symlinks #102539

Ryhon0 opened this issue Feb 7, 2025 · 0 comments · Fixed by #102545

Comments

@Ryhon0
Copy link

Ryhon0 commented Feb 7, 2025

Tested versions

  • 4.4-beta3
  • 4.3

System information

Godot v4.3.stable.mono unknown - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Sun, 12 Jan 2025 04:54:23 +0000 - X11 - Vulkan (Mobile) - dedicated AMD Radeon RX 6800 XT (RADV NAVI21) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

Issue description

DirAccess.remove_absolute fails to delete symlinks that point to a non-existent file and returns 1

Steps to reproduce

  • Create new file
  • Create a symlink to the new file with DirAccess.create_link
  • Delete the file with DirAccess.remove_absolute
  • Attempt to delete the symlink with DirAccess.remove_absolute

Minimal reproduction project (MRP)

removelink.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants