Skip to content
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

The directory /usr/local/bin is not writable. #351

Closed
mromero1999 opened this issue Jan 24, 2022 · 6 comments
Closed

The directory /usr/local/bin is not writable. #351

mromero1999 opened this issue Jan 24, 2022 · 6 comments

Comments

@mromero1999
Copy link

I have tried using the compute's terminal to fix the problem but it asks for a password

@yihui
Copy link
Member

yihui commented Jan 24, 2022

Yes, it has to ask for password since it needs root privilege to make the change to this directory.

@mromero1999
Copy link
Author

Is the password the same one as my computer? when I try to type it, it does not allow me to.

@yihui
Copy link
Member

yihui commented Jan 24, 2022

Yes, it is. If the password you typed does not allow you to make the change, it is likely to be an incorrect password. Unfortunately I can't help you with that.

This issue can be safely ignored if you are using tinytex through R.

@mromero1999
Copy link
Author

mromero1999 commented Jan 24, 2022

I am using R and it says its not writable. l tried the link solution in my terminal (not R)
"Last login: Mon Jan 24 09:32:36 on ttys000
ip-10-150-80-239:~ monicaromero$ [ -e /usr/local/bin ] || sudo mkdir -p /usr/local/bin
ip-10-150-80-239:~ monicaromero$ sudo chown -R whoami:admin /usr/local/bin
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
ip-10-150-80-239:~ monicaromero$ ~/Library/TinyTeX/bin/*/tlmgr path add

ls: /Users/monicaromero/Library/TinyTeX/bin/x86_64-darwinlegacy: No such file or directory
ip-10-150-80-239:~ monicaromero$
ip-10-150-80-239:~ monicaromero$

@yihui
Copy link
Member

yihui commented Jan 24, 2022

As I said, you can safely ignore this issue if you are using R. I can't help you type the correct password.

@yihui yihui closed this as completed Feb 16, 2022
@yihui
Copy link
Member

yihui commented Feb 16, 2022

Duplicate of #24

@yihui yihui marked this as a duplicate of #24 Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants