delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/06/20:41:43

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-pair-Authenticated: 209.68.2.80
Message-Id: <6.0.0.21.2.20031006203410.07250100@127.0.0.1>
X-Sender: 127.0.0.1:2110:tdierks AT 127 DOT 0 DOT 0 DOT 1
Date: Mon, 06 Oct 2003 20:41:27 -0400
To: cygwin AT cygwin DOT com
From: Tim Dierks <tim AT dierks DOT org>
Subject: Re: Installation & Uninstallation issues
In-Reply-To: <6.0.0.21.2.20031005214247.04d0cfd0@127.0.0.1>
References: <6 DOT 0 DOT 0 DOT 21 DOT 2 DOT 20031005201022 DOT 0776b150 AT 127 DOT 0 DOT 0 DOT 1>
<6 DOT 0 DOT 0 DOT 21 DOT 2 DOT 20031005214247 DOT 04d0cfd0 AT 127 DOT 0 DOT 0 DOT 1>
Mime-Version: 1.0

At 10:12 PM 10/5/2003, Tim Dierks wrote:
>At 08:24 PM 10/5/2003, Tim Dierks wrote:
>>The tail end of /var/log/setup.full is:
>>
>>2003/10/05 20:07:49 running: C:\cygwin\bin\sh.exe -c 
>>/etc/postinstall/base-files-mketc.sh
>>/etc/postinstall/base-files-mketc.sh: not found
>>  [... elided ...]
>>
>>And, in fact, those scripts are not there: instead, I've got files with 
>>each of those names with '.done' appended (e.g. 
>>"/etc/postinstall/base-files-mketc.sh.done"). However, these scripts have 
>>not been executed (or at least haven't run successfully).
>
>After further research in the mailing lists, I believe my problem is 
>similar to one discussed this April on the mailing list. The message that 
>contained the first real diagnosis is:
>   http://www.cygwin.com/ml/cygwin/2003-04/msg00432.html
>Which diagnoses the problem as having something to do with privileges 
>which are more strongly checked with sh than with bash. My W2K machine is 
>not part of a domain, and I'm installing as an administrator-privileged 
>account for all users.

I thought I'd record for the list that I fixed my problem with the 
following steps:
  - Created a C:\cygwin directory in Windows Explorer
  - Disconnected it from inheriting privileges from C:\ and made the 
following changes:
    + Added full control for the "Users" group (and deleted full control 
for "Authenticated Users")
    + Changed the owner to my login account (was "Administrators)
  - Did an install

Unfortunately, I don't know which of the two changes was sufficient to fix 
the problem, although I'm happy to do more analysis on request. I'm also 
insufficiently informed as to venture a sufficiently educated guess as to 
whether the problem is in sh, in setup, or elsewhere in cygwin; I will note 
that I had other problems beyond postinstall sh problems, generally with 
processes feeling that they had insufficient privileges to read or create 
files (bash couldn't copy the default files to create my home directory, 
cron couldn't start up due to a privileges problem I didn't record).

Many thanks to Pierre Humblet for helping me to figure this out off-list 
and to all others.

  - Tim



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