public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: tim.gunter@bioscrypt.com
Cc: cygwin@cygwin.com
Subject: Re: Setup cant open package database error?
Date: Wed, 24 Sep 2003 21:21:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.56.0309241713430.3193@slinky.cs.nyu.edu> (raw)
In-Reply-To: <20030924210027.GA1412@bioscrypt.com>

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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

  reply	other threads:[~2003-09-24 21:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 18:10 Tim Gunter
2003-09-24 19:44 ` Igor Pechtchanski
2003-09-24 20:18   ` Tim Gunter
2003-09-24 21:00     ` Igor Pechtchanski
2003-09-24 21:03       ` Tim Gunter
2003-09-24 21:21         ` Igor Pechtchanski [this message]
2003-09-25 17:11           ` Tim Gunter
2003-09-25 20:42             ` Robert Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.56.0309241713430.3193@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=cygwin@cygwin.com \
    --cc=tim.gunter@bioscrypt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).