curently in one of my repository has three people within it. problem is admin is the only person who can has write access for the repository. for other two users only have read access. but when they see the permission status for the repository , it show as write . when they pushing commits to the repository , they can see access key only has read permission error.
following permission were defined in repository by me. please help me to figure out this problem.
What is the repository URL users are pushing against? Perhaps they are pushing over SSH where the SSH key added in Bitbucket server was with Read-only access.
In the screenshot you have provided, please ask the user go to /d/project.security-management-system (master) in mingw-w64 or Git Bash and run:
git config -l
And check what is described in remote.origin.url
Thank you for your update.
Based on screenshot provide we can notice your repository is hosted on https://bitbucket.org and not on Bitbucket server.
You could proceed as per following:
a. Connecting to the repository over HTTPS instead of SSH
# Change your remote's URL
# make sure of replacing USERNAME with desired user
git remote set-url origin https://USERNAME@@bitbucket.org/buddhikabhageashwara/security-management-system.git
b. Troubleshooting SSH connection
# enable Git DEBUG
export GIT_TRACE_PACKET=1 export GIT_TRACE=1 export GIT_CURL_VERBOSE=1
ssh -v bitbucket.org
Can you post the error the users are seeing? From what you're describing it sounds like it may be the following error:
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
If that is the error take a look at the Permission denied (publickey) knowledge base article for steps to fix the issue. If that is not the error or that does not help let us know and we'll go from there.
thanks for the quick response, that is not the error what have you mentioned in here. please find the above mentioned error for the write access when oshan and bhanuka try to write on the repository .
please find the text format of the error message from follwoing which getting the users:-
$ git push origin masterrepository access denied. access via a deployment key is read-only.fatal: Could not read from remote repository.
Please make sure you have the correct access rightsand the repository exists.
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs