0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Git】Git cloneが上手くいかない 【Permission denied】

Last updated at Posted at 2023-05-17

TortoiseGit を使ったHTTPSでのクローンに失敗

image.png

fatal: could not create work tree dir 'XXXXXXXXX': Permission denied

環境

Windows11

原因

クローン先のディレクトリの権限に問題があった(読み取り専用になっていた)。

解決方法

クローンしたいディレクトリを右クリック → プロパティ → セキュリティ → アクセス許可を変更、適用

もしくはコマンドから権限付与

shell
sudo chmod 777 ディレクトリ
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?