delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/06/10:15:51

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: texmf
Date: Thu, 6 Dec 2001 10:15:29 -0500
Message-ID: <6EB31774D39507408D04392F40A10B2BC1FE51@FDYEXC202.mgroupnet.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: texmf
Thread-Index: AcF8P8JXCAvjeRhVRaqhu2YU2MTJIACJk/2w
From: "Roth, Kevin P." <KPRoth AT MarathonOil DOT com>
To: "Jan Nieuwenhuizen" <janneke AT gnu DOT org>, <cygwin-apps AT cygwin DOT com>
X-OriginalArrivalTime: 06 Dec 2001 15:15:30.0202 (UTC) FILETIME=[D79AA7A0:01C17E68]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fB6FFoC22585

I tried this out (in the context of LilyPond, which I was not familiar
with, but which looks like a great tool! kudos for making this available
via cygwin!!!).

I found that the setup process for texmf-base created a file
(/usr/share/texmf/web2c/pdftex.fmt) with less-than-optimal permissions.
The file /usr/bin/fmtutil (supplied by tetex-beta it seems, so Jan may
not be able to address this) creates some temporary files in the
directory pointed to by $TMP. When it's finished, it `mv`'s them into
place at /usr/share/texmf/web2c.

On a Windows 2000 machine, the default location for the $TMP directory
is actually a TEMP directory underneath of each user's personal W2K
profile (documents&settings) directory. This directory only has read
access for the user himself and for System and Administrators. A `mv`
command doesn't adjust file permissions to match the directory it's
being copied into (at least on NT/w2k/XP), whereas a `cp` command does.
Which means that when the texmf-base package used fmtutil to create the
file /usr/share/texmf/web2c/pdftex.fmt, the file permissions were such
that only the installing user could read it. 

So, when I tried to test out lilypond (running as a different user than
my administrative account, which was used to install these files), it
failed. I dug down and realized that the perms on these web2c files were
wrong, so I fixed 'em, and then figured out why.

Whoever is maintaining tetex-beta, would you please change the two
places in fmtutil where it performs a `mv`, so it instead performs a
`cp` followed by an appropriate `rm`?

Thanks,
--Kevin




-----Original Message-----
From: Jan Nieuwenhuizen [mailto:janneke AT gnu DOT org]
Sent: Monday, December 03, 2001 4:16 PM
To: cygwin-apps AT cygwin DOT com
Subject: RFP: texmf

As announced earlier, I'd like to contribute a set of texmf packages
from teTeX that match contrib/tetex-beta.  Its previous incarnation
received some positive comments already.

- Raw text -


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