X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0	tests=AWL,BAYES_05,SPF_NEUTRAL,TW_RW,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D710427.4000306@cornell.edu>
Date: Fri, 04 Mar 2011 10:24:23 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problems with Cygwin-1.7.8 (or snapshot) and TeXLive 2010
References: <4D7006CD.5060608@alice.it>
In-Reply-To: <4D7006CD.5060608@alice.it>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 3/3/2011 4:23 PM, Angelo Graziosi wrote:
> The last steps of installation regard the generation of format file for
> all users (-rw-r--r-- root root), but with recent snapshots the format
> file are creted only for root (-rwx-----+) (**) : these permissions
> resemble those created when one installs native Windows applications
> ('c:\Program files' is full of similar files).

This reminds me of the discussion starting at

   http://cygwin.com/ml/cygwin/2009-11/msg00922.html

in which patching a file unexpectedly changed the permissions.  The 
issue turned out to be related to the ACLs on the temporary director 
used by patch.

In the present situation, the texlive installer calls fmtutil-sys to 
create the format files.  I think fmtutil creates the files in a 
temporary directory (using TMPDIR, TEMP, or TMP if they exist) and then 
mv's them.  Could this be your problem?  What happens if you unset those 
variables before installing texlive?

This is just a wild guess, and I'm not sure it explains why the problem 
first shows up in recent snapshots.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

