[tlu] PATH not propagated to *-sys scripts (Yosemite)

Jeffrey Goldberg jeffrey at goldmark.org
Fri Jul 11 22:23:37 CEST 2014


On Jul 11, 2014, at 9:25 AM, Adam R. Maxwell <amaxwell at mac.com> wrote:
> On Jul 10, 2014, at 23:45 , Jeffrey Goldberg <jeffrey at goldmark.org> wrote:

>> I notice in the source that you do not look at files in /etc/paths.d/* but just look at /etc/paths and then hardcode /usr/texbin in addition to what you find there.

> I don't hardcode anything, except base OS paths as a fallback in case the user has botched or removed /etc/paths (this has happened). The TeX path is still read from TLU preferences.

Acknowledged. Sorry for my misstatement. /usr/texbin is the default preference setting.

> I'll also note that any security improvements would be meaningless, since the entire goal of TLU is to blindly run a huge mass of perl and shell tools as root. AEWP was designed to run an installer, and that's exactly what I'm doing. If Apple breaks it, I'll have to consider my options really carefully.

Things are pointing in that direction, as I’m not the problem with

  sudo tlmgr update …

> One thing you could also try is changing ownership of the /usr/local/texlive/2014 directory to the user running TLU, which should bypass the AEWP call if I remember aright.

That would be a work-around, as is just using tlmgr from the command-line.

Cheers,

-j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://tug.org/mailman/private/tlu/attachments/20140711/77f9788a/attachment.bin>


More information about the tlu mailing list