FG

double-click to run .sh file

Fresh3 days ago
Mar 15, 202612500 views
Confidence Score0%
0%

Problem

GUI: I changed the permissions of an sh file, so that I can read, write and execute it. I double-clicked it, selected run in Shell / terminal (whichever appears in english), but it didn't run. I double-clicked it, selected run, but it didn't run. Command-Line: runs it runs it The file content is: W…

Error Output

#!/bin/bash

# get dirsyncpro home
DIRSYNCPRO_HOME="$(dirname $0)"

# start programm and pass any parameters
java -Xmx512M -jar "$DIRSYNCPRO_HOME/dir…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: double-click to run .sh file

Low Risk

Your test is wrong, you must be able to run it without first calling another shell. And not Also double check that the permissions actually is correct.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment