This is the mail archive of the 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 Help -- Operation not permitted

> 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 ''.  It doesn't
as though it has been run.  Here is a copy of it:


set -x

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

if [ ! -d /var/cron/tabs ]
  mkdir /var/cron/tabs
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

> 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:
Bug reporting:

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