What permissions should 'texlive' have?

前端 未结 1 1896
孤城傲影
孤城傲影 2021-01-25 18:45

For years I have been using MacTeX which installs in /usr/local/texlive, and have recently started using Homebrew to manage some packages (though not — yet — TeX).

1条回答
  •  醉话见心
    2021-01-25 19:04

    Normally usr/local is owned by root:wheel so that multiple usr's can access it, so by default everything installed to it is owned by root:wheel. Homebrew takes the rather unusual (but convenient) step of subverting this. It says, look this computer is just being used by one user, so I'll give her control of usr/local. It does this to

    1. Make it more likely that all unixy installs will work for you
    2. Make it safer (if there are any other users using the computer) - as a homebrew user, you'll only screw your own account up wiht homebrew if something goes wrong.

    As you installed tex before homebrew it has root:wheel ownership, this has nothing to do with texlive, and everything to do with the normal usage of usr/local. If you change its permissions to Me::admin, then only you will be able to use texlive - I'd just leave it alone :)

    0 讨论(0)
提交回复
热议问题