-1

this is the error its showing now

enter image description here

I was installing "Laravel" through a tutorial and now i am facing this error "zsh: locking failed for /users/vishnu.zsh_history: permission denied: reading anyway"

macos:- catalina v10.15

I am using macbook air, I don't have any idea what happened it happened while I was installing composer and a file was missing to get that file I ran some "chown" command and now I cant even open my chrome browser

Please Help

-ThankYou

Anonymous Chatbox
  • 431
  • 1
  • 9
  • 18

2 Answers2

3

You can run this command :

sudo chown -R ${LOGNAME}:staff $HOME

to make sure the owner is correct for your files.

Philippe
  • 20,025
  • 2
  • 23
  • 32
0

Alternatively, this also worked for me:

chmod 755 /Users/<mac username>/;
Devin Rhode
  • 23,026
  • 8
  • 58
  • 72