How to run Linux script e.g configure etc, in FAT (or alike raw) filesystem ?
$ sudo chmod -R 777 .
$ ./configure
bash: ./configure: Permission denied
How to solve ?
How to run Linux script e.g configure etc, in FAT (or alike raw) filesystem ?
$ sudo chmod -R 777 .
$ ./configure
bash: ./configure: Permission denied
How to solve ?
Assuming it is a shell script, manually passing it to the relevant binary should let you run it:
$ head -n 1 configure
#!/bin/bash
$ bash configure
FAT does not support individual file permissions. So you cannot assign one with chmod. Though, it should be possible to configure to treat all files in a FAT as executable.
You have to set the execute permissions on the script path not the current directory path (.) :
sudo chmod 777 configure
Then execute it :
sh configure