Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280261 - sys-process/cronbase: run-crons attempts to execute non-executable files
Summary: sys-process/cronbase: run-crons attempts to execute non-executable files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 06:26 UTC by Dmitri Bogomolov
Modified: 2015-07-21 10:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,2.52 KB, text/plain)
2009-08-04 06:26 UTC, Dmitri Bogomolov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2009-08-04 06:26:14 UTC
After upgrading from sys-process/cronbase-0.3.2-r1 I receive mail with message "/usr/sbin/run-crons: line 102: /etc/cron.hourly/.keep_sys-process_cronbase-0: Permission denied"

Reproducible: Always
Comment 1 Dmitri Bogomolov 2009-08-04 06:26:58 UTC
Created attachment 200111 [details]
emerge --info
Comment 2 Dmitri Bogomolov 2011-08-18 10:08:59 UTC
The problem is in GLOBIGNORE="*~" `man bash' says:

  However, setting GLOBIGNORE to a non-null  value has  the effect of enabling
  the dotglob shell option, so all other file names beginning with a ``.''
  will match. To get the old behavior of ignoring file names  beginning  with
  a  ``.'', make  ``.*''   one of the patterns in GLOBIGNORE.

But GLOBIGNORE="*~:.*" has ho effect for me.
Comment 3 Dmitri Bogomolov 2012-03-13 10:25:50 UTC
This bug is because of patch from bug 237200.
Comment 4 SpanKY gentoo-dev 2015-07-21 10:37:35 UTC
this was fixed with at least the 0.3.3 release:
    if [[ -x $SCRIPT && ! -d $SCRIPT ]]; then
        $SCRIPT
    fi

and testing locally i see run-crons skipping it:
# bash -x run-crons
...
+ for SCRIPT in '$CRONDIR/*'
+ [[ -x /etc/cron.weekly/.keep ]]
+ for SCRIPT in '$CRONDIR/*'
...

if this is still an issue, please post the output of:
 ls -al /etc/cron.hourly/