diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index f0c09a6c7d..5399efcd33 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -1589,10 +1589,12 @@ CopyFolder(BEntry* srcEntry, BDirectory* destDir, removeSource); if (removeSource) FSDeleteFolder(&entry, loopControl, true, true, false); - } else { + } else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode)) { CopyFile(&entry, &statbuf, &newDir, loopControl, 0, false, undo); if (removeSource) entry.Remove(); + } else { + // Ignore special files } } if (removeSource)