delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/05/03:43:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: RE: another cron problem - permission denied
Date: Mon, 5 Aug 2002 09:43:01 +0200
Message-ID: <00fb01c23c53$b99cac40$651c440a@BRAMSCHE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E40F165@ex02.idirect.net>

> Which version of cron are you running?

cygcheck says

cron                3.0.1-7

> At least part of the problem is the permission of the files in
> /var/cron.
>
> 1. Please read /usr/doc/Cygwin/cron.README, in particular:
I have
>
> >
> >3.0.1-6:
> >--------
> >
> >Add a postinstall script which creates the /var/cron and /var/cron/tabs
> >directories appropriately.
> >
file is there

> >3.0.1-5:
> >--------
> >
> >Crontab now changes group membership to be SYSTEM on the crontab
> >files and sets the permissions to 640.  That should allow cron
> >to work immediately with the crontab files created by crontab.
> >Note that this requires that /etc/group has been created and
> >contains the default SYSTEM entry, gid 18. DON'T CHANGE THAT!
>
Is there

> 2. You should have a file named 'cron.sh.done' in the directory
> /etc/postinstall.

is there

> You might try removing your /var/cron directory tree and then running
> that file/script.  If you don't have it, here is a copy

This seems all okay. So I tried to delete the current cygwin installation
(removing the cygwin base dir)
and recogniced, that I can't delete the file in /var/cron because the owner is
system.

I tried to change the access rights and then could delete the tmp files in
/var/cron/tabs, but I'm unable to delete the /var/cron/tabs folder, because I 'm
not allowed to change (1) the owner and (2) am not allowed to change access
rights (allowed only to view the rights )

Any idea how to fix this ?

BTW: It's an NT 4.09 SP6 Workstation

Ralf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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