14

BB..but HOW?????

Comments
  • 2
    Did you use sudo su
  • 0
    Maybe you need sudo to have access to sudo? o0
  • 0
    Check your SELinux policies
  • 1
    @Damian right, I totally forgot SELinux could do that. It wasn't the case here, but thanks for reminding me to check next time.
  • 1
    Sounds like it's shitty error trapping that assumes any failed attempt to access a resource is a permissions error. Seen that too many times…
  • 0
    Chmod?
  • 0
    Adding this line to ~/.npmrc :
    prefix = ${HOME}/.npm-packages
    Will let you install global packages without sudo (and permission issues)
  • 0
    @vincetrot I would also have to add that to my PATH and reboot, which I am far too lazy to do.
    But thanks, I'll try to remember this for the next time I'm setting up my system.
Add Comment