delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/24/17:20:40

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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 24 Sep 2003 17:20:25 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: tim DOT gunter AT bioscrypt DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: Setup cant open package database error?
In-Reply-To: <20030924210027.GA1412@bioscrypt.com>
Message-ID: <Pine.GSO.4.56.0309241713430.3193@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0309241611420 DOT 8775 AT slinky DOT cs DOT nyu DOT edu>
<20030924210027 DOT GA1412 AT bioscrypt DOT com>
Importance: Normal
MIME-Version: 1.0

On Wed, 24 Sep 2003, Tim Gunter wrote:

> On Wed, Sep 24, 2003 at 04:18:38PM -0400, Igor Pechtchanski wrote:
> > Setup doesn't overwrite /etc/setup/installed.db in place.  Instead it
> > creates /etc/setup/installed.db.new, writes the necessary content to it,
> > then removes /etc/setup/installed.db and renames the .new file.  I'm
> > guessing the remove operation fails for you -- check the Windows ACLs on
> > /etc/setup, is your user allowed to delete files?
>
> not sure how to check the Windows ACLs on the files. i'm running
> Windows 2000 and cygwin is installed on a FAT32 partition. using
> getfacl, it looks as though i have write permission on the directory
> and the installed.db files. the DOS "cacls" command doesnt print
> out anything when i try and examine the acls assigned to these
> files.
>
> is there another way to check ACLs?
> or is the fact that im running from a FAT32 partition causing
> some of these problems?
>
> --tim

Well, you could right-click on the directory in Explorer and select
Properties -> Security -> Advanced...  I'm really not familiar with FAT32
filesystems - I think neither ntsec nor ntea work on them.  Is there a
possibility of moving Cygwin to an NTFS partition?  It would likely work
much better there anyway...

Can you remove "/etc/setup/installed.db" by hand and rename
"/etc/setup/installed.db.new" to it?  It might fix the problem, at least
for one setup run...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019