Bug#941828: git: fatal: could not read Password for : Permission denied

2019-10-05 Thread Heinrich Schuchardt

The problem seems to stem from missing accessibility of /dev/tty:

$ ls /dev/tty -la
crw--w 1 root tty 5, 0 Oct  6 06:19 /dev/tty



Bug#941828: git: fatal: could not read Password for : Permission denied

2019-10-05 Thread Heinrich Schuchardt

Package: git
Version: 1:2.23.0-1
Severity: normal

Dear Maintainer,

since the last KDE plasma update git push fails with an error

git: fatal: could not read Password for : Permission denied

When working locally I can use

export GIT_ASKPASS=`which ksshaskpass`

as a workaround.

But that does not help if I am working via SSH.

How can I simply enter the password on the console?

Best regards

Heinrich Schuchardt

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git depends on:
ii  git-man  1:2.23.0-1
ii  libc62.29-2
ii  libcurl3-gnutls  7.66.0-1
ii  liberror-perl0.17028-1
ii  libexpat12.2.7-2
ii  libpcre2-8-0 10.32-5+b1
ii  perl 5.28.1-6
ii  zlib1g   1:1.2.11.dfsg-1+b1

Versions of packages git recommends:
ii  ca-certificates  20190110
ii  less 551-1
ii  openssh-client [ssh-client]  1:8.0p1-6
ii  patch2.7.6-6

Versions of packages git suggests:
ii  gettext-base  0.19.8.1-9
pn  git-cvs   
pn  git-daemon-run | git-daemon-sysvinit  
pn  git-doc   
pn  git-el
ii  git-email 1:2.23.0-1
pn  git-gui   
pn  git-mediawiki 
pn  git-svn   
pn  gitk  
pn  gitweb

-- no debconf information