delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/29/05:14:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 29 Dec 2004 11:14:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cron.sh postinstall
Message-ID: <20041229101437.GM3232@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0412281034240 DOT 4076 AT fordpc DOT vss DOT fsi DOT com>
Mime-Version: 1.0
In-Reply-To: <Pine.CYG.4.58.0412281034240.4076@fordpc.vss.fsi.com>
User-Agent: Mutt/1.4.2i

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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019