On 05/07/2011 06:32:14 PM, Christian Kastner wrote:
> tag 625498 + unreproducible moreinfo
> 
> On 05/03/2011 11:06 PM, Karl O. Pinc wrote:
> > Files in /etc/cron.d that have group write permissions will
> > not have their cronjobs run but if /etc/cron.d/ contains
> > a symlink to a file with group write permissions the cron
> > jobs in that file are run.  After the content of the file
> > is changed cron will then refuse to run the jobs.
> > 
> > The following script demonstrates the problem:
> > 
> > ---------------------<snip>-----------------
> > # Tidy up before we start.
> > rm -f /etc/cron.d/foo /tmp/foo
> > sleep 60
> > 
> > # Establish crontab
> > cat - >/tmp/foo <<EOF
> > * * * * * root printf 'Running\n'
> > EOF
> > chmod g=w /tmp/foo
>   ^^^^^ see below

Humm.  I did do _something_ wrong.  I thought I was chmod g+w,
and that's what I was testing.  (But then I cut and paste
to test so....)

I'll retest and re-think and update the bug.

Karl <k...@meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to