Skip to content

Instantly share code, notes, and snippets.

@Jay991
Created December 16, 2017 18:52
Show Gist options
  • Save Jay991/4275c5e5f11741a7f9b3743da3110976 to your computer and use it in GitHub Desktop.
Save Jay991/4275c5e5f11741a7f9b3743da3110976 to your computer and use it in GitHub Desktop.
Solution for Yoeman Error: EACCES, permission denied '/root/.config/configstore/insight-yo.json' You don't have access to this file.
You need to create a new user and give it sudo privleges:
$adduser username
Set password prompts:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for username
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
Give the new user sudo privledges
usermod -aG sudo username
Switch to new user
su - username
Then run
Yo command
@akshayarise
Copy link

hey @Jay991
problem is solved just doing with
chmod -R 777 /home/kumar/.config/configstore/insight-yo.json

@chrisjangl
Copy link

This worked - thanks!

@pradiptadas115
Copy link

This solved my problem , try it
chmod -R 777 /root/.config/insight-nodejs/

@rjdelrio
Copy link

rjdelrio commented Apr 6, 2021

the solution.text work fine to me :D

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