This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron.sh postinstall


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]