This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
- From: Barry Kelly <barry dot j dot kelly at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 3 Nov 2004 14:34:03 +0000
- Subject: Re: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=lfc80XKpRj4BcVcMYMsgugJDGtJAMwH//DciJYLE2zS+4UX6Kv6lGjC91356jGCBoU2CoURVj5EyzE2PttnjQfFx6SZhm2oqcAmpjTg5f2tkKEbLzpIVRrr5GIJ7wE9G86o4PHIWa5+Gz1bcblLVfkEPGZJxL9dtmbvS5DBGonI=
- References: <BADF3C947A1BD54FBA75C70C241B0B9E90BD1E@ex02.svr.idirect.net> <3adf6db80411030213560868d3@mail.gmail.com> <20041103142437.GA648719@Worldnet>
- Reply-to: Barry Kelly <barry dot j dot kelly at gmail dot com>
On Wed, 3 Nov 2004 09:24:37 -0500, Pierre A. Humblet
<pierre.humblet@ieee.org> wrote:
>
> crontab chowns the crontab file group to 18. Make sure that gid 18
> is in /etc/group. Also I find it hard to believe that the strace you
> got gives no useful information.
This did it. Group 18 (SYSTEM) was not in /etc/group; instead,
/etc/group only contained domain groups, not local groups. I ran
'mkgroup -l -d > /etc/group' to recreate the file.
Re strace: the strace gave (something like) this entry about the chown() call:
165 14525235 [main] crontab 2600 chown_worker: -1 = chown
(tabs/tmp.002600,...)
This didn't give me enough information to figure out the missing
parameters. I believe crontab should print more verbose error output
for its critical failures.
Thanks for the tip. I would have found this out this evening if I had
to; you saved me a good 30 minutes. Thanks again!
-- Barry
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/