Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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.20031005214247.04d0cfd0@127.0.0.1> X-Sender: 127.0.0.1:2110:tdierks AT 127 DOT 0 DOT 0 DOT 1 Date: Sun, 05 Oct 2003 22:12:18 -0400 To: cygwin AT cygwin DOT com From: Tim Dierks Subject: Re: Installation & Uninstallation issues In-Reply-To: <6.0.0.21.2.20031005201022.0776b150@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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). I've also found that if I attempt to run these scripts by hand from bash with: /bin/sh -c /etc/postinstall/base-files-mketc.sh.done I get the same error message: /etc/postinstall/base-files-mketc.sh.done: not found This is the same error I get for "/bin/sh -c /tmp/fakefilename", so it appears that the problem is that /bin/sh can't find its files for some reason. And, in fact, if I run /bin/sh and try to run the scripts from there, I get the same "not found", along with the same error for running /bin/ls and others, all of which work from bash. 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. After running the passwd-grp.sh.done postinstall script manually using bash instead of sh, I get the following: bash-2.05b$ /usr/bin/getfacl /etc # file: /etc # owner: Tim Dierks # group: Users user::--- group::--- mask:rwx other:--- Any ideas on what's wrong with my machine to cause this? Thanks again for any help. - 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/