Edit: ignore. I did not read the release notes of 6.8.0
All i needed was to call "bash" in front of the script.
root@Tower:/boot/config/plugins/user.scripts/scripts/temp# bash ./script
Hello, World!
root@Tower:/boot/config/plugins/user.scripts/scripts/temp#
Hi,
Problem:
I upgraded to 6.8.1 from 6.7.2 and now i am unable to run the user scripts directly from SSH.
If i run the script through the user scripts web page it works.
If I run try to run the script directly through SSH I get error permission denied. I am doing nothing different than previously than before and even tried a few other things.
Script permissions:
root@Tower:/boot/config/plugins/user.scripts/scripts# ls -la temp/
total 112
drwx------ 2 root root 16384 Aug 27 16:04 ./
drwx------ 33 root root 16384 Sep 11 12:39 ../
-rw------- 1 root root 946 Aug 27 16:04 .script.un~
-rw------- 1 root root 4 Feb 14 2019 name
-rw------- 1 root root 20742 Jan 20 00:34 script
-rw------- 1 root root 4645 Aug 27 15:56 script~
What i tried:
Making new script - I can edit the the file so It seems i have R/W access but cannot execute.
root@Tower:/boot/config/plugins/user.scripts/scripts/temp# chmod +x script
root@Tower:/boot/config/plugins/user.scripts/scripts/temp# ./script
-bash: ./script: Permission denied
Newperms - doesn't work but i guess that is expected being a FAT32 partition
root@Tower:/boot/config/plugins/user.scripts/scripts# newperms temp/
temp/
processing temp/
... chmod -R u-x,go-rwx,go+u,ugo+X temp/
... chown -R nobody:users temp/
chown: changing ownership of 'temp/script': Operation not permitted
chown: changing ownership of 'temp/name': Operation not permitted
chown: changing ownership of 'temp/script~': Operation not permitted
chown: changing ownership of 'temp/.script.un~': Operation not permitted
chown: changing ownership of 'temp/': Operation not permitted
... sync
completed, elapsed time: 00:00:00
I don't know if i'm looking the right direction but Googling it says the USB drive needs to be mounted with the correct permissions.
Any ideas? Thanks