Warning: rmdir(/-path-/spamicide): Directory not empty in drupal_rmdir() (line 2517 of -path-/file.inc).

Created on 3 June 2019, over 6 years ago
Updated 18 July 2025, 3 months ago

When setting up a custom Spamicide directory on admin/config/people/spamicide, unlike the case on #2123757: Spamicide tried to remove default/files directory with rmdir()? this time it is trying to remove the right directory, but failing because it is not empty;

Warning: rmdir(/home/username/public_html/sites/default/files/spamicide): Directory not empty in drupal_rmdir() (line 2517 of /home/username/public_html/includes/file.inc).

Furthermore, when customizing a selected form field name, the module fails to remove the default feed_me.css file, so now we have both new and the old default files in the custom Spamicide directory.

Manually removing both the default Spamicide directory and the default .css file takes care of the problem, but would be nice to address this issue on the module level.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024