[tex-live] Unreadable file /usr/local/texlive/2008/texmf-dist/tex/latex/gmverse/gmverse.sty

Zdenek Wagner zdenek.wagner at gmail.com
Fri Mar 20 23:55:51 CET 2009


2009/3/20 Karl Berry <karl at freefriends.org>:
>    The last update is a few weeks old, could be a month or more. The
>    file mentioned is unreadable for mortal users:
>
>            -rwx------   1 root  wheel  30345  4 Sep  2008 /usr/local/texlive/
>    2008/texmf-dist/tex/latex/gmverse/gmverse.sty
>
> Pete, thanks for the report.
>
> Robin, I'm sorry to tell you that the problem lies in gmverse.tds.zip,
> which has those undesirable permissions.  I don't think I can clear x
> bits when importing from ctan.
>
> As for the unreadability, that surprises me.  Svn does not store file
> permissions aside from executability, and the file is globally readable
> in the master tree from which the .lzma's are built.  I'll look into it.
>
It is a bit more complex. If you add a new file by "svn add" or "svn
import" and its "x" permission is set, svn will set property
svn:executable. If you change permissions of a versioned file in your
working copy, "svn ci" will not notice it. If you want to change it,
you have to edit the svn:executable property. I looked into my (old)
working copy and after fresh update:

[zw at centos tl-svn]$ find -name gmverse.sty -ls
28426510   32 -rwxrwxr-x   1 zw       zw          30345 Sep  5  2008
./Master/texmf-dist/tex/latex/gmverse/gmverse.sty
[zw at centos tl-svn]$ svn info
Path: .
URL: svn://tug.org/texlive/trunk
Repository Root: svn://tug.org/texlive
Repository UUID: c570f23f-e606-0410-a88d-b1316a301751
Revision: 12437
Node Kind: directory
Schedule: normal
Last Changed Author: karl
Last Changed Rev: 12437
Last Changed Date: 2009-03-19 17:41:39 +0100 (Thu, 19 Mar 2009)

[zw at centos tl-svn]$ find -name gmverse.sty -ls
28429053   32 -rw-rw-r--   1 zw       zw          30345 Mar 20 23:21
./Master/texmf-dist/tex/latex/gmverse/gmverse.sty
[zw at centos tl-svn]$ svn info
Path: .
URL: svn://tug.org/texlive/trunk
Repository Root: svn://tug.org/texlive
Repository UUID: c570f23f-e606-0410-a88d-b1316a301751
Revision: 12475
Node Kind: directory
Schedule: normal
Last Changed Author: karl
Last Changed Rev: 12475
Last Changed Date: 2009-03-20 23:32:33 +0100 (Fri, 20 Mar 2009)

svn update shows:

U    Master/tlpkg/texlive.tlpdb
U    Master/tlpkg/bin/tlpkginfo
 U   Master/texmf-dist/tex/latex/gmverse/gmverse.sty
U    Master/texmf-dist/ls-R
U    Master/texmf-doc/ls-R

You can see that some properties of gmverse.sty were changed
(svn:executable was cleared).

I suspect that someone unpacked a file from CTAN with wrong
permissions into the working copy and used this directly for creation
of the TL package. I hope (but I am not sure) that commit+update sets
the correct permission if the svn client is able to do it (if the
files in the working copy is owned by root with permissions 700 and
svn is run by a normal user, it will probably complain).

> karl
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list