delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/17/02:35:37

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
Message-ID: <3E757AC6.6010601@t-online.de>
Date: Mon, 17 Mar 2003 08:35:34 +0100
From: =?ISO-8859-1?Q?Markus_Sch=F6nhaber?= <mks99 AT t-online DOT de>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: de-de, de, en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New release of setup.exe (2.249.2.10)
References: <20030313205847 DOT E1E4B1C221 AT redhat DOT com> <3E710A26 DOT 5050207 AT t-online DOT de> <20030314025249 DOT GB33739617 AT hpn5170x> <3E718AD8 DOT 4010209 AT t-online DOT de> <3E71E0D9 DOT 682AD75E AT ieee DOT org> <3E720139 DOT 70402 AT t-online DOT de> <3E7206BA DOT 9543594A AT ieee DOT org> <3E72FDD1 DOT 5060200 AT t-online DOT de> <20030315175803 DOT GA811047 AT hpn5170x>
In-Reply-To: <20030315175803.GA811047@hpn5170x>

Pierre A. Humblet wrote:

>>>I recall another problem that somebody had reported after answering "yes".
>>>The chown command in a postinstall script had no effect. That would mean
>>>that at, at least at that site, the program was lacking the Restore 
>>>privilege.
>>>To test if this is a prevalent problem, a simple test is to put a 
>>>testchown.sh script in /etc/postinstall . setup will then run it and wecan
>>>see if the command worked.
>>
>>I'll check that out. But you'll have to explain that to me in clear and 
>>simple words, that even I am able to understand what I am supposed to do.
> 
> 
> Very simple. Put the text below in /etc/postinstall/testchown.sh, then run setup
> as an ordinary user (with Run As). After running, there should by a file 
> /etc/testchown, containing info about user & group membership (can be useful).
> Check if it is owned by SYSTEM or not. testchown.sh will be renamed to 
> testchown.sh.done, so you need to undo the renaming if you try multiple times.
> Again the purpose of the test is to understand what users face.
> 
> Pierre
> 
> #! /bin/sh
> 
> export CYGWIN=ntsec
> rm -f /etc/testchown
> id >> /etc/testchown
> touch /etc/testchown
> chown 18:18 /etc/testchown

OK, I should be able to get that done.
The results of this test will not be influenced by the flavour of the 
existing cygwin installation (who did it, what was installed etc.)?

Regards
   mks


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