delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/29/02:31:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 29 Nov 2001 08:26:07 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
X-Mailer: The Bat! (v1.53t) Business
Reply-To: "Gerrit P. Haase" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <39384249060.20011129082607@familiehaase.de>
To: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
CC: cygwin AT cygwin DOT com
Subject: Re: can not install libwww-perl-5.61
In-Reply-To: <3.0.5.32.20011128233313.0082ccd0@pop.ne.mediaone.net>
References: <3 DOT 0 DOT 5 DOT 32 DOT 20011128233313 DOT 0082ccd0 AT pop DOT ne DOT mediaone DOT net>
MIME-Version: 1.0
X-Sender: 320081107336-0001 AT t-dialin DOT net

Hallo Pierre,

Am 2001-11-29 um 05:33 schriebst du:

> Is it a dbm problem or is the following coincidental? 

> main()
> {
>         DBM *dbp;
>         dbp = dbm_open("xxx", O_RDWR|O_CREAT, 0644);
>         if (dbp == NULL) perror("dbm_open");
> }
> yields:
> dbm_open: Permission denied

> http://sources.redhat.com/ml/cygwin/2001-11/msg01391.html reported
>> robot/rules-dbm.....Can't open test-436657: Permission denied at
> robot/rules-dbm.t line 9

Where does this error come from, is it also from gdbm?  Eventually
there is a check for a special set of permissions like 644 and at
Win98 is always 700 so an error is raised, maybe the 'wrong' error
text in gdbm?

What if you change the above snippet to:
main()
{
        DBM *dbp;
        dbp = dbm_open("xxx", O_RDWR|O_CREAT, 0700);
        if (dbp == NULL) perror("dbm_open");
}

The original poster has failures probably because he doesn't use 'ntsec'
in his CYGWIN= settings.

> Cygnus Win95/NT Configuration Diagnostics
> Windows 98 SE Ver 4.10 build 67766446  A 

> Cygwin DLL version info:
>         DLL version: 1.3.5
>         DLL epoch: 19

Ciao,

Gerrit P. Haase                            mailto:gp AT familiehaase DOT de
-- 
=^..^=


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