Skip to content

Can't delete folder recursively due to MacOS resource forks (._* files) #4720

@ollixx77

Description

@ollixx77

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

GNU Midnight Commander 4.8.33
Gebaut mit GLib 2.82.4
Gebaut mit S-Lang 2.3.3 mit terminfo-Datenbank
Gebaut mit libssh2 1.11.1
Mit eingebautem Editor
Mit Subshell-Unterstützung als Standard
Mit Unterstützung für Hintergrundoperationen
Mit Mausunterstützung für xterm
Mit Internationalisierungsunterstützung
Mit Unterstützung mehrerer Codepages
Virtuelles Dateisystem:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, shell
Datentypen:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; uintmax_t: 64;

Operating system

Darwin Mac.fritz.box 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:27 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6041 arm64

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

Deleting folder with some files and their pesty ._* counterparts created by MacOS
(recursive delete = yes)

Expected behavior

Folder get's deleted

Actual behavior

n files reside in this folder
having to delete this folder n+1 times until it's really gone
(recursive delete = yes)

Additional context

I think it has to something to do with this stupid .* files, which MacOS creates for every regular file.
When I get rid of these .
* files before and try to delete the folder, it works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues not related to a specific subsystemprio: mediumHas the potential to affect progressver: 4.8.33Reproducible in version 4.8.33

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions