delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/05/08:48:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,TW_RW,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D723F0F.2030502@cornell.edu>
Date: Sat, 05 Mar 2011 08:47:59 -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: <4D720EF6 DOT 80908 AT alice DOT it>
In-Reply-To: <4D720EF6.80908@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/5/2011 5:22 AM, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
>> Since fmtutil-sys is apparently the core of the problem, and given
>> my total lack of knowledge about the Tex/Latex system, is there any
>> simple call to fmtutil-sys with which I can reproduce the problem
>> without having to install texlive?
>
> It seems too difficult for me. fmtutil-sys is a bash script which calls
> another bash script, fmtutil, which in turn calls a bunch of binaries
> (as results from intall-tl.log) in the form like this:
>
> aleph -ini   -jobname=aleph -progname=aleph *aleph.ini
> aleph -ini   -jobname=lamed -progname=lamed *lambda.ini
> pdftex -ini   -jobname=amstex -progname=amstex -translate-file=cp227.tcx
> *amstex.ini
> [...]
>
> It seems that the binaries aleph, pdftex... are passed via a fmtutil.cnf
> configuration file.
>
> Anyway, with a binary testing (only .dll.bz2 of snapshots), I have
> verified that the last snapshot with which the .fmt files get the right
> permissions (-rw-r--r--) is 20100904 snapshot, instead with 20100910
> they acquires wrong permissions (rwx------). In short, after>= 20100910
>    snapshot, fmtutil script creates /tmp/fmtutil.NUMBER with drwx-----+
> permissions: fmtutil.NUMBER is a working directory for fmtutil.

The permissions on the working directory are not surprising (except 
perhaps for the `+'), since the directory is created by fmtutil with the 
command

   (umask 077; mkdir "$tmpdir")

But on my system, running the latest snapshot, the files within that 
directory still get the expected 644 permissions.  I'm running Win7 in 
case that makes a difference.  At the moment I don't have access to an 
XP system to test this on.

I wonder if this has nothing to do with texlive or fmtutil, but is 
simply a problem with the ACLs on a directory created with umask 077. 
Corinna, are there changes in the 20100910 snapshot that could explain 
this?  And would there be a difference between XP and Win7?

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