I want to run a script directly from a windows share. The windows machine is running Windows 7 and I try to run the script from Ubuntu 13.10, on the same LAN. I tried with a bash script as well as a python script and when I run it, I have the following error:
zsh: permission denied: ./bc.sh
The share containg the script is mounted like this:
sudo mount -t cifs -o username=user,passwordpass=,exec,rw,users,file_mode=0777,dir_mode=0777 //192.168.0.3/folder /mnt/Win7
The script has the following rights:
-rwxrwxrwx 0 root root 24 Dec 10 20:50 bc.sh
And contains only a simple command:
#!/bin/bash
echo "Test"
I tried to run it with sudo but didn't work as well.
sudo: unable to execute ./bc.sh: Permission denied
I also tried with bash instead of zsh, without success.
Any idea about what I'm missing?
Thanks.