Bug 2088828 - askpass.py in ssh kitten not executable
Summary: askpass.py in ssh kitten not executable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kitty
Version: 36
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2090093 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-20 22:40 UTC by Aurelia
Modified: 2022-06-03 03:34 UTC (History)
4 users (show)

Fixed In Version: kitty-0.25.0-2.fc37 kitty-0.25.1-1.fc36 kitty-0.25.1-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-21 10:41:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Aurelia 2022-05-20 22:40:26 UTC
Description of problem:
when running kitty with `+kitten ssh` and interactive password auth is negotiated, kitty attempts to exec `/usr/lib64/kitty/shell-integration/ssh/askpass.py`, which has modes 0644

Version-Release number of selected component (if applicable):
0.25.0-1.fc36

How reproducible:
Always.

Steps to Reproduce:
1. run `kitty +kitten ssh <destination>`, where destination will end up negotiating keyboard-interactive,password

Actual results:
```
ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied
<destination>: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
```

Expected results:
askpass.py is run

Additional info:
Workaround is setting mode for askpass.py to 755.

Comment 1 Yaroslav Sidlovsky 2022-05-21 10:09:55 UTC
So you saying that command `find %{buildroot} -type f -name "*.py*" -exec chmod -x "{}" \;` in %install section is not working?
🤔

Comment 2 Yaroslav Sidlovsky 2022-05-21 10:25:15 UTC
Damn it's removing executable mode, not setting it :)

Comment 3 Fedora Update System 2022-05-21 10:40:15 UTC
FEDORA-2022-31424e324a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-31424e324a

Comment 4 Fedora Update System 2022-05-21 10:41:03 UTC
FEDORA-2022-31424e324a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-05-21 10:58:19 UTC
FEDORA-2022-378bbdc295 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-378bbdc295

Comment 6 Fedora Update System 2022-05-21 11:09:39 UTC
FEDORA-2022-cbafc64d38 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-cbafc64d38

Comment 7 Fedora Update System 2022-05-22 01:43:03 UTC
FEDORA-2022-378bbdc295 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-378bbdc295`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-378bbdc295

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-05-22 02:14:14 UTC
FEDORA-2022-cbafc64d38 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-cbafc64d38`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-cbafc64d38

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-05-22 16:34:41 UTC
FEDORA-2022-50da5f8d32 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-50da5f8d32

Comment 10 Fedora Update System 2022-05-22 16:44:15 UTC
FEDORA-2022-5ec5bd54dc has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ec5bd54dc

Comment 11 Fedora Update System 2022-05-23 01:13:54 UTC
FEDORA-2022-50da5f8d32 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-50da5f8d32`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-50da5f8d32

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-05-23 01:33:15 UTC
FEDORA-2022-5ec5bd54dc has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-5ec5bd54dc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5ec5bd54dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Yaroslav Sidlovsky 2022-05-25 09:01:23 UTC
*** Bug 2090093 has been marked as a duplicate of this bug. ***

Comment 14 Fedora Update System 2022-05-27 01:40:59 UTC
FEDORA-2022-d0ddea31ab has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d0ddea31ab`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d0ddea31ab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-05-27 02:16:22 UTC
FEDORA-2022-ee870182ae has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-ee870182ae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ee870182ae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-06-01 01:24:15 UTC
FEDORA-2022-ee870182ae has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2022-06-03 03:34:14 UTC
FEDORA-2022-d0ddea31ab has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.