[texhax] texhash trouble in TL on Ubuntu
Reinhard Kotucha
reinhard.kotucha at web.de
Thu Aug 16 20:01:48 CEST 2012
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
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the texhax
mailing list