1
私はIntelliJののを使用してクローンを作成しようとしています。 VCSの機能が組み込まれ、git-scm.comからのgit bashのプログラムは、それらの両方が次のエラーを返す:
fatal: could not create work tree dir '<repo name>' :
Permission denied
私が間違っているのは何を?
私はIntelliJののを使用してクローンを作成しようとしています。 VCSの機能が組み込まれ、git-scm.comからのgit bashのプログラムは、それらの両方が次のエラーを返す:
fatal: could not create work tree dir '<repo name>' :
Permission denied
私が間違っているのは何を?
エラーはかなり簡単です。指定されたディレクトリに対するアクセス権がありません。
あなたはいくつかのことを行うことができますが、最も簡単なものは、あなたがプロジェクトにクローン化したら、リポジトリのvi git bash
# go to any other directory where you have the permissions to write to
cd <some path>
# Check to see if you have permissions:
mkdir dummy
# Now once you have verified that you have write permissions -
# clone the project from the command line
git clone <url>
を試してみて、クローンを作成することである - のIntelliJので開きます。
申し訳ありませんが、私は何が間違っていたのか分かりました。レポと名前を共有していたフォルダは、それだけで読んでいました。しかし、管理者であっても権限を拒否された属性を変更しようとすると、そのフォルダを削除するためにLinuxのライブCDを作成する必要がありますか? – Redrield
'chmod 644 [ディレクトリ]'と 'chownユーザ:グループ[ディレクトリ]'? – andlrc
chmodは私の許可を拒否しました。たとえ管理者であっても、chownはディレクトリなので操作を実行できないと言っています – Redrield