This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with Cygwin-1.7.8 (or snapshot) and TeXLive 2010


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]