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
  • 40,956

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
0

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