Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,301
Community Members
 
Community Events
185
Community Groups

Cannot commit with GPG sign

I've done all steps here:
https://confluence.atlassian.com/bitbucketserver074/using-gpg-keys-1019385721.html?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash
But when I try to commit, not successfully:

git commit -S -m your commit message

 An error occurs:
$ git commit -S -m "Test"
error: cannot spawn C:\Users\abc\.gnupg: Permission denied
error: gpg failed to sign the data
fatal: failed to write commit object

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 08, 2021

That suggests that the current user does not have full read/write/execute/delete access to the files in the abc direcotory (possibly because of a lack of access to the directory itself)

Check the permissions first.  If you find they look ok, then the next test would be to try to edit the .gnupg file with another application (a text editor probably) as that may tell you more about why it can't access the file.

I am able to delete/edit folder/files but Source tree cannot access.
Config file look like that:

[commit]
         signingkey = xxxxxxxxxxxxxxxxxxxxxxxxx
         gpgsign = true
[gpg]
         program = C:\\Users\\abc\\.gnupg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events