Head, meet Brick Wall; Palm, meet Forehead

After too many months of occasionally becoming frustrated by bash spitting "bad interpreter: permission denied" back at me when I tried to run ./something, I finally googled the error with "bash" prepended to it - I'd had no luck trying just the error before, in any combination, and was at a loss as to why things weren't working. After a few minutes spent trawling an archived email thread, I found some mention of partition-level execution permissions... That was when Palm met Forehead.

Long story short, the answer is the noexec flag I'd set in my CentOS 4.4's /etc/fstab file for various partitions - I confirmed this by trying a ./something on a partition without that flag set, and as expected, it worked perfectly.

I hope this helps someone else one day, if only so my initial frustration (and now my extreme embarrassment at not solving this sooner) isn't all that comes of it!

(Yes, I'm still alive. Yes, I'll probably start giving this place the love and attention is so badly needs - "soon", as always.)


0 Responses to Head, meet Brick Wall; Palm, meet Forehead

  1. There are currently no comments.

Leave a Reply

First-time comments are moderated.



About

I'm a web developer with a passion for standards, and a strong belief in quality-over-quantity and using the right tool for the job.

User