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=stashBut 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 deniederror: gpg failed to sign the datafatal: failed to write commit object
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
It looks like you're new here. Sign in or register to get started.