Skip to content

[BUG] URL Override : permission denied #1261

@grrosminet

Description

@grrosminet

Describe the bug
when URL Override uses cmd, it results in a permission denied error

To Reproduce
Steps to reproduce the behavior:

  1. create a URL Override like this (the replacement is still incomplete because I want it to be simple)
Image
  1. create a password entry with a ssh url

  2. click on the URL Override "SSH" button

  3. See error

Image

Expected behavior
should run the requested app

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux Debian 13
  • DE : Kde Plasma
  • App version 2.3.4

logs

java.io.IOException: Cannot run program "bash": posix_spawn failed, error: 13 (Permission non accordée) 
Possible reasons:
  - Spawn helper ran into JDK version mismatch
  - Spawn helper ran into unexpected internal error
  - Spawn helper was terminated by another process
Possible solutions:
  - Restart JVM, especially after in-place JDK updates
  - Check system logs for JDK-related errors
  - Re-install JDK to fix permission/versioning problems
  - Switch to legacy launch mechanism with -Djdk.lang.Process.launchMechanism=VFORK

        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandImplKt.executeCommand(ExecuteCommandImpl.kt:89)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandImplKt.access$executeCommand(ExecuteCommandImpl.kt:1)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandBash$invoke$$inlined$ioEffect$1.invokeSuspend(IOFactory.kt:48)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandBash$invoke$$inlined$ioEffect$1.invoke(IOFactory.kt)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandBash$invoke$$inlined$ioEffect$1.invoke(IOFactory.kt)
        at com.artemchep.keyguard.common.io.IOBindKt.bind(IOBind.kt:11)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandImpl$invoke$$inlined$ioEffect$1.invokeSuspend(IOFactory.kt:44)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandImpl$invoke$$inlined$ioEffect$1.invoke(IOFactory.kt)
        at com.artemchep.keyguard.common.service.execute.impl.ExecuteCommandImpl$invoke$$inlined$ioEffect$1.invoke(IOFactory.kt)
        at com.artemchep.keyguard.common.io.IOBindKt.bind(IOBind.kt:11)
        at com.artemchep.keyguard.common.io.IOLaunchInKt$launchIn$1.invokeSuspend(IOLaunchIn.kt:6)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Caused by: java.io.IOException: posix_spawn failed, error: 13 (Permission non accordée) 
Possible reasons:
  - Spawn helper ran into JDK version mismatch
  - Spawn helper ran into unexpected internal error
  - Spawn helper was terminated by another process
Possible solutions:
  - Restart JVM, especially after in-place JDK updates
  - Check system logs for JDK-related errors
  - Re-install JDK to fix permission/versioning problems
  - Switch to legacy launch mechanism with -Djdk.lang.Process.launchMechanism=VFORK

        at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
        at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
        at java.base/java.lang.ProcessImpl.start(Unknown Source)
        ... 21 more

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions