[texhax] Aha Moment; umask

Thomas Schneider schneidt at mail.nih.gov
Fri Jul 12 19:26:46 CEST 2013


Dick:

> I don't think it is possible to change umask from a flag in a call
> to "sudo ./install-tl".

I don't have access to install-tl right now but it's just a script,
right?  So the first thing it can do is set the umask.  The fact that
it's called by sudo isn't relevant.

> Thus your suggestion that theTeX Live install script set umask
> involves the entire TeX world on all Unix platforms and is way
> higher than my pay grade.

drwxr-xr-x appears on directories in /usr/local in both Mac OS and
Linux.  It would be following the normal structure.

The ONLY reason this happened is that I personally like to keep my
files restricted AND sudo inherited my preference, applying my
preferences inappropriatedly to the texlive files in /usr/local.  But
my preference to restrict access to my files is NOT appropriate for
files in /usr/local, especially files that are publically available on
the internet!

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Center for Cancer Research
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  schneidt at mail.nih.gov
  http://schneider.ncifcrf.gov/(current link)
  http://alum.mit.edu/www/toms (permanent link)


More information about the texhax mailing list