Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893208 - app-editors/vscode-1.75.0: terminal doesen't run anymore
Summary: app-editors/vscode-1.75.0: terminal doesen't run anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-04 09:50 UTC by CyberGuerro
Modified: 2023-02-04 20:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CyberGuerro 2023-02-04 09:50:20 UTC
Terminal inside VSCODE doesn't run anymore due a permission denied.

Reproducible: Always

Steps to Reproduce:
1. run VSCODE
2. open terminal window
Actual Results:  
returned this error:
A native exception occurred during launch (posix_spawn failed: Permission denied).

Expected Results:  
Terminal run

Without terminal it's impossible to compile and run code
Comment 1 Eugene Shalygin 2023-02-04 15:05:43 UTC
Version update brought another executable, and it is not the first time Gentoo VSCode ebuild maintainer does not compare file lists when bumping version. This time it is:

fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper

which is missing from the ebuild.
Comment 2 CyberGuerro 2023-02-04 15:19:27 UTC
(In reply to Eugene Shalygin from comment #1)
> Version update brought another executable, and it is not the first time
> Gentoo VSCode ebuild maintainer does not compare file lists when bumping
> version. This time it is:
> 
> fperms +x
> /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/
> spawn-helper
> 
> which is missing from the ebuild.

Thank you, meanwhile a new revision of ebuild will be available, I changed permission of file.
Comment 3 Yves Hoppe 2023-02-04 15:51:43 UTC
Having the same issue, temporary workaround:

chmod +x /opt/vscode/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper
Comment 4 Larry the Git Cow gentoo-dev 2023-02-04 20:18:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da5959f47930c3ba2ec9e89972ca046cc6aaa38

commit 4da5959f47930c3ba2ec9e89972ca046cc6aaa38
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-02-04 20:13:16 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-04 20:18:22 +0000

    app-editors/vscode: fix missing executable permissions
    
    Closes: https://bugs.gentoo.org/893208
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-editors/vscode/{vscode-1.75.0.ebuild => vscode-1.75.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)