bash: ./ms-stop: bad interpreter: Permission denied
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I run mount and this is the outcome, but I can't tell about the flag, I mean, I don't understand what this command mount is about. Can you figure that out?
/dev/hda2 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /boot type ext2 (rw)
/dev/hdb1 on /research type ext2 (rw)
/dev/hdb2 on /unilocal type ext2 (rw)
/dev/hda9 on /home type reiserfs (rw,usrquota)
/dev/hda8 on /opt type reiserfs (rw)
/dev/hda5 on /usr type reiserfs (rw)
/dev/hda6 on /var type reiserfs (rw)
/dev/hda7 on /var/spool type reiserfs (rw)
shmfs on /dev/shm type shm (rw)
Well, mount shows the filesystems (partitions and virtual ones, like /proc) that are mounted. I was looking for the "noexec" option like in "/dev/hda9 on /home type reiserfs (rw,noexec)", but I see it isn't there.
Weird. Especially since the error reads "bash: ./ms-analyze: bad interpreter: Permission denied". I mean, if it was a non-existant shell, it would say "bad interpreter: No such file or directory". Are you able to execute any scripts in your home directory?
I tried dos2unix but I still get the message bad interpreter permission denied
So, I'm here again. I already tried what vbu suggested about converting the file from DOS to *nix version but the error message is still there. Weird thing is that I can run other scripts in my account.
Thanks for the help!
bash: ./ms-analyze: bad interpreter: Permission denied