[OS X TeX] Permission problems in texmf.local

Ross Moore ross at ics.mq.edu.au
Tue Apr 13 00:24:13 EDT 2004


Hi Michael,

On 13/04/2004, at 1:47 PM, Michael S. Hanson wrote:

> 	About two weeks ago I ran the latest i-Installer at the time to 
> update my desktop TeX installation.  Today when I tried to use the 
> Fourier math fonts (in a document that had compiled fine on this Mac 
> prior to the update), I received the error:
>
> !LaTeX Error: File 'fourier.sty' not found.
>
> 	This file is where I had installed it some time ago -- in 
> texmf.local.  However, I no longer have permission to access it (yes, 
> I am using an admin account):
>
> % kpsewhich fourier
> /usr/local/teTeX/share/texmf.local/tex/latex/fourier: Permission denied

With this command you have tried to run the 'fourier' directory.
Commands that you may have meant to use are:

    kpsewhich fourier.sty
or
    ls `kpsewhich fourier`

>
> 	Turns out, a number of the directories under texmf.local have their 
> execute bit turned off for group/others:
>
> % ls -lF /usr/local/teTeX/share/texmf.local/
> total 16
> drwxr-xr-x   3 root  admin   102 14 Sep  2003 doc/
> drwxr-xr-x   3 root  admin   102 15 Jul  2003 dvipdfm/
> drwxr--r--   4 root  admin   136 14 Sep  2003 dvips/
> drwxr-xr-x   3 root  admin   102 21 Jan  2003 etex/
> drwxr--r--   6 root  admin   204 14 Sep  2003 fonts/
> -rw-r--r--   1 root  admin  7923 30 Mar 14:29 ls-R
> drwxr-xr-x   3 root  admin   102 21 Jan  2003 pdftex/
> drwxr--r--   5 root  admin   170 18 Sep  2003 tex/
> drwxr-xr-x  44 root  admin  1496 30 Mar 14:29 web2c/
> drwxr-xr-x   3 root  admin   102 21 Jan  2003 xdvi/
>
> which I suspect (I only know enough Unix to be dangerous (TM)) is why 
> I cannot "see" the fourier.sty file (and presumably others).

Hmm; that doesn't look right.
Looks like something happened in Sept 2003.

>
>
> Questions:
>
> 	1. Is it safe to execute 'sudo chmod -R go+x *' in 
> /usr/local/teTeX/share/texmf.local/ ?  If not, what should I do 
> instead?

Sure; but drop the -R, else you'll set all the files within 
subdirectories to be executable,
when you only want this for the directories themselves.

It's probably best to just list the directories explicitly:
    sudo chmod a+x tex fonts dvips
then look at the contents of each of these directories to see whether
there are further changes needed.


>
> 	2. What happened?  On my PowerBook (not updated since October, the 
> last time my desktop had been updated before the end of March), the 
> permissions all appear correct -- or at least I encounter no errors 
> when using fourier.sty.

Sorry, I cannot speculate on what may have caused the changes.

>
> 	Thanks in advance for any assistance.


Hope this helps,

	Ross


>
>                                         -- Mike
>
> -----------------------------------------------------
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list