delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/04/10:24:54

X-Recipient: archive-cygwin AT delorie DOT 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 AT cornell DOT 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 AT cygwin DOT com
Subject: Re: Problems with Cygwin-1.7.8 (or snapshot) and TeXLive 2010
References: <4D7006CD DOT 5060608 AT alice DOT it>
In-Reply-To: <4D7006CD.5060608@alice.it>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019