1

For whatever reason with default bash setup on Arch Linux, ./script isn't working but bash script is.

The file is definitely owned by me, and permissions are 755 with executable bit set.

I've never seen this issue. Why can't I execute via ./script

  • Is the filesystem holding script mounted noexec? – icarus Mar 31 at 2:19
  • @icarus OMG yes LMAO. I forgot I set /home to noexec – unixandria Mar 31 at 2:20
2

/home, the partition running the script is mounted noexec

Fixed!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.