Pushing tags failed, once

First time failed dramatically:

[email protected]:dragdropfile(7.x-1.x)$ git push --tags
Upon execvpe /etc/twisted-taps/twisted-drupalGitSSHDaemon/git-error ['/etc/twisted-taps/twisted-drupalGitSSHDaemon/git-error', "You do not have write permissions for the 'dragdropfile' repository."] in environment id 139781887081280
:Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/internet/process.py", line 430, in _fork
  File "/usr/lib64/python2.7/site-packages/twisted/internet/process.py", line 508, in _execChild
    os.execvpe(executable, args, environment)
  File "/usr/lib64/python2.7/os.py", line 355, in execvpe
    _execvpe(file, args, env)
  File "/usr/lib64/python2.7/os.py", line 370, in _execvpe
    func(file, *argrest)
OSError: [Errno 13] Permission denied
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

But it worked the second time:

[email protected]:dragdropfile(7.x-1.x)$ git remote show origin
* remote origin
  Fetch URL: [email protected]:project/dragdropfile.git
  Push  URL: [email protected]:project/dragdropfile.git
  HEAD branch: 7.x-1.x
  Remote branch:
    7.x-1.x tracked
  Local branch configured for 'git pull':
    7.x-1.x merges with remote 7.x-1.x
  Local ref configured for 'git push':
    7.x-1.x pushes to 7.x-1.x (up to date)
[email protected]:dragdropfile(7.x-1.x)$ git push --tags
Total 0 (delta 0), reused 0 (delta 0)
To [email protected]:project/dragdropfile.git
 * [new tag]         7.x-1.7 -> 7.x-1.7

so no worries. Just wanted to let you know. I’ve never seen a GIT error like that…

Source: https://www.drupal.org/project/issues/rss/infrastructure

Leave a Reply