This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cron.sh postinstall
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Dec 2004 11:14:37 +0100
- Subject: Re: cron.sh postinstall
- References: <Pine.CYG.4.58.0412281034240.4076@fordpc.vss.fsi.com>
- Reply-to: cygwin at cygwin dot com
On Dec 28 10:38, Brian Ford wrote:
> Trivial note to maintainer:
>
> Suggest mkdir -p for /var/cron/tabs to avoid cosmetic error message when
> the directory already exists:
>
> + mkdir /var/cron/tabs
> mkdir: cannot create directory `/var/cron/tabs': File exists
>
> You could then remove the mkdir -p of /var/cron for one less command ;-).
>
> Did you really mean to leave the set -x in?
Erm... no, not really. I've created a new cron.sh file like this:
#!/bin/sh
#set -x
mkdir -p /etc/cron.d
chmod -f 755 /etc/cron.d
mkdir -p /var/cron/tabs
chmod -f 1777 /var/cron /var/cron/tabs
but I will not release a new cron for this trivial change.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/