if running run-parts from sys-apps/debianutils for a dir containing a .keep file, run-parts gives an error msg like 'component $dir/.keep is not an executable plain file'. sys-apps/anacron for instance runs run-parts for the directories /etc/cron.{daily,weekly,monthly}, which contain .keep files. this results in error messages mailed to root. Reproducible: Always Steps to Reproduce: $ run-parts --test /etc/cron.weekly Actual Results: run-parts: component /etc/cron.weekly/.keep is not an executable plain file Expected Results: IMHO no error message for .keep files should be printed. solution #1: run-parts could be patched to ignore .keep files (i'll submit a patch) solution #2: .keep files in /etc/cron.{daily,weekly,monthly} could be renamed to .keep.disabled (run-parts ignores files matching *.disabled by default). for this to happen, sys-apps/baselayout and sys-apps/cronbase and possibly ebuild.sh would have to be patched.
Created attachment 9985 [details, diff] patches run-parts to ignore .keep files
solution #3: .keep files could be chmod()ed to 0755...
they're not executable, so I rather prefer the patch method.
fixed in -r1. thanks for that.