macosmacos-catalinaoh-my-zsh

Neofetch : acces denied folder .config


I need your help with an access issue with neofetch on my macOS. Here the thing, I recently install neofetch on my terminal (oh-my-zsh), it works but, between the firts line (last login) and the logo that displays :

mkdir: /Users/'MYUSERNAME'/.config/neofetch/: Permission denied /usr/local/bin/Neofetch: line 4476: /Users/'MYUSERNAME'/.config/neofetch/config.conf: Permission denied

And I don't know why, of course, I did many types of research on google before asking you.

Do you have an idea?


Solution

  • You need to change the permissions for your config directory:

    sudo chmod -R 666 /Users/YOURUSERNAME/.config

    666 means Read-Write for all users.