New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When installed as root, other users may not be able to use TinyTeX #37

Closed
wch opened this Issue Apr 24, 2018 · 3 comments

Comments

2 participants
@wch

wch commented Apr 24, 2018

When installed in /root/.TinyTeX, other users will not be able to use the programs when the permissions for /root are 700. (I believe this is the default for Ubuntu.)

This can be worked around by running chmod 755 /root (as I've done here), but that's generally not desirable from a security standpoint. It would be helpful if the documentation explained another way to install TinyTeX in a way that all users can use it.

@yihui

This comment has been minimized.

Owner

yihui commented Apr 27, 2018

@wch

This comment has been minimized.

wch commented Apr 27, 2018

It would definitely help to have instructions on how to do a system-wide installation where any user can use it. It would also be nice if the destination directory could be set as an option to the installation script, instead of having to install it first and them move the files, as @cboettig did.

@yihui

This comment has been minimized.

Owner

yihui commented Apr 27, 2018

Okay, I'll improve the documentation, and think about how to make the installation path configurable. Note that if you have already got R installed, you can use the R function tinytex::install_tinytex() to install TinyTeX -- this function has provided a dir argument that can be used to specify the installation dir. The shell script doesn't support this at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment