[texhax] texhash trouble in TL on Ubuntu

Lars Madsen daleif at imf.au.dk
Fri Aug 17 10:13:31 CEST 2012

Reinhard Kotucha wrote, On 2012-08-16 20:01:
> On 2012-08-16 at 13:21:33 +0000, Hefferon, James S. wrote:
>  > > That is standard I guess, the root user is not using the same
>  > > PATH as the regular users.
>  > 
>  > I understand that it varies between Linux distributions.  But
>  > Ubuntu is popular and so many people may see the behavior.
>  > 
>  > > On my systems I have a specific LaTeX user who owns the LaTeX
>  > installation, thus I do not have to run anything as root. I think this
>  > provide a better security.
>  > 
>  > That sounds reasonable to me.  What is involved besides creating
>  > the user and chown-ing the subdirectory tree?
>  > You must need to run texhash as "sudo -ulatexuser texhash".
>  > Anything else?  Any special settings for PATH or EDITOR for that
>  > user?  Any executables that need to be suid?  Do you need to set
>  > the stuff to have the latexuser group also?  Any other stuff that
>  > need to be that user (for instance, asymptote?)?
> There is nothing to do if you are the owner of the texlive tree
> yourself.  You don't need sudo then.  However, it might not work for
> other users if your umask is more restrictive than 022.
> Regards,
>   Reinhard

exactly why I switch to a separate user, I kept forgetting my umask.

Our LaTeX user has a more appropriate umask



More information about the texhax mailing list