delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/04/12:11: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
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: CRON Help -- Operation not permitted
Date: Wed, 4 Dec 2002 12:10:56 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90B9E7@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Robert Gimbel" <rgimbel AT anasazisoftware DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gB4HB7s28504

> 
> 2. What are the ownership and permissions of /var/cron and
> /var/cron/tabs?
> 
> **RG**  /var/cron
> drwxrwxrwx+   3 RGIMBEL  Domain A        0 Aug 25 21:38 ./
> drwxrwxrwx+   6 Administ Domain A        0 Aug 25 21:38 ../
> drwxrwxrwx+   2 RGIMBEL  Domain A        0 Dec  3 12:02 tabs/
> 

Look in /etc/postinstall for a file named 'cron.sh.done'.  It doesn't
look
as though it has been run.  Here is a copy of it:

#!/bin/sh

set -x

if [ ! -d /var/cron ]
then
  mkdir -p /var/cron
fi
chmod 1777 /var/cron

if [ ! -d /var/cron/tabs ]
then
  mkdir /var/cron/tabs
fi
chmod 1777 /var/cron/tabs

You might try running the 'chmod' commands above manually.

Also, check the ownership/permissions of /var/cron/tabs/<user ID>.
Group membership on your <user ID>-specific tab file should be SYSTEM
(ID #18) and permissions should be set to 640, as described in
/usr/doc/Cygwin/cron.README.

> 3. It looks as though you might be running WinNT/2K with NTFS, but you
> did
>    not include the output of 'cygcheck' (as an attached file
> 'cygcheck.txt'),
>    so it's not possible to know for sure.
> 

Yes, this confirms it.  Cygwin is on d: and d: has NTFS on it.

For future reference, please include 'cygcheck.txt' as an attachment,
not inline text.  Consider the case where you would like to search
the mail archives for, say, 'bash'.  Then every message that includes
the 'cycheck' output inline will produce a (false or irrelevant) match.
If you include the output as a .txt attachment, then the contents will
not be include in a search of the archives.

> a:  fd           N/A    N/A                    
> c:  hd  NTFS    4094Mb  41% CP CS UN PA FC     Dell Server
> d:  hd  NTFS   99896Mb  79% CP CS UN PA FC     
> e:  cd           N/A    N/A                    
> f:  hd  NTFS   114470Mb  21% CP CS UN PA FC     FireWire0
> g:  hd  NTFS   76316Mb   9% CP CS UN PA FC     FireWire1
> 
> d:\cygwin      /          system  textmode
> d:\cygwin/bin  /usr/bin   system  textmode
> d:\cygwin/lib  /usr/lib   system  textmode
> .              /cygdrive  user    textmode,cygdrive

--
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