1

I have upgraded from lubuntu 16.04 to ubuntu 18.04 (German version).
A shell script which used to run will not start any more.
I have checked the box "run as executable" in the properties, but neither left- nor rightclick offers running the script. It only will be opened in leafpad. I have also tried chmod +x, no success.

As far as I know the necessary java packages are included in ubuntu 18.04.
What else can I try?

dessert
  • 39,982
M. Huenig
  • 19
  • 5

2 Answers2

0

make it executable with:

chmod +x your_file.sh

if you use "-x" in chmod command, like you wrote in your question, you remove che "execute" attribute.

If you want check the attributes with:

ls -la /your_path/your_file.sh

if the file is executable you must see the "x" attibutes, like the followind:

-rwx------ 1 my-user my-group     114 ago 31 15:54 my_script.sh
  • .. that was a type mistake - used +x, no success. Attributes are -rwxrwxr-x 1 markus markus 611 Jul 13 12:04 jameica.sh – M. Huenig Aug 31 '18 at 14:29
0

As I found out now (following Hello's hint), this is a nautilus problem. I installed pcman fm instrad - and everything works.

M. Huenig
  • 19
  • 5