LoginSignup
0
0

More than 1 year has passed since last update.

warning: unable to access '/Users/xxx/.config/git/ignore': Permission denied

Posted at

ローカルからGitHudに繋げようと思ったら障害が起こった。

cd ~/
ls -al

上記コマンドw打つと、ファイルが数多く並ぶ、その中で.configファイルのところがrootになっている。

そうしたら下記コマンドを実行

sudo chown -R $(whoami) .config

.configファイルの所有権限を現在のユーザー名に変更する。

エラー解消。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0