Unable to move chromedriver to /usr/local/share/ as permission denied

How do I get permission to unzip, write, move into root folders?

Hi,

use sudo to run your commands as root
so instead of mv /usr/local/share/whatever /to/wherever, type sudo mv /usr/local/share/whatever /to/wherever

EDIT : It won’t work if your user is not in the wheel group

1 Like

Thank You for your time and help!

1 Like

Piece of advice: ask yourself first if you really need to do that.
Root folders are where your system sits. There is a reason you can’t write to it by default…

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.