could not lock config file .git/config: Permission denied

已查看 778 次
跳至第一个未读帖子

nimma...@gmail.com

未读,
2016年10月21日 03:08:382016/10/21
收件人 Repo and Gerrit Discussion
Hello Team 

i m facing the problem while cloning the project, could you please check the issue

stderr: error: could not lock config file .git/config: Permission denied

nimma...@gmail.com

未读,
2016年10月21日 03:10:412016/10/21
收件人 Repo and Gerrit Discussion
fulll error message:
stdout: 
stderr: error: could not lock config file .git/config: Permission denied

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1691)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1321)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1333)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1035)
	at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:160)
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:798)
	... 11 more
ERROR: null

Matthias Sohn

未读,
2016年10月21日 03:31:402016/10/21
收件人 nimma...@gmail.com、Repo and Gerrit Discussion
The Gerrit list is not the right forum to discuss this problem as it doesn't seem to be related to Gerrit.
I think the Jenkins mailing list (see https://jenkins.io/content/mailing-lists/) is the right place to discuss your problem.

Looks like the OS user running Jenkins doesn't have file system permissions for the folder where the job's clone of the git repository is located

-Matthias

--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

回复全部
回复作者
转发
0 个新帖子