Re: problems running bash scripts...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 20 Dec 2003, Alexander Dalloz wrote:
> Am Sa, den 20.12.2003 schrieb Gustavo Rahal um 22:24:
> > Tom Mitchell wrote:
> > >On Sat, 20 Dec 2003, Gustavo Rahal wrote:
> > >>
> > >>When trying to run any bash script I get the following message: "bash: 
> > >>./xxxx: /bin/bash: bad interpreter: Permission denied".. Even as root I 
> > >>get the same message... any idea?
....
> > >
> > >Someone has messed with the permissions of your bash binary
> > >or you are not involing the bash you expect.
.....
> > > $ chmod -x /tmp/bshell
> > > $ /tmp/b2.sh
> > > /bin/bash: /tmp/b1.sh: /tmp/bshell: bad interpreter: Permission denied

Ok, so permissions of the interpreter can produce this message 
but that was not it in this case....

> > Thanks for the reply Mitchell. After trying some more things I found out 
> > that the problems is that if I run scripts that are on /mnt/dados/ which 
> > is a mounted fat32 partition this problem occurs.
....
> Probably mounted with noexec option.

Well I did mount a flash memory card with this line on /etc/fstab
  /dev/sda1              /mnt/flash01     vfat noauto,user

I see the same error so there are now two contexts to generate
the same error message.

Meta data on vfat is a strange thing -- perhaps there is a
security check.....

Anyhow I am not sure what the underlying reason is yet.
But what you are seeing is 'real'.


-- 
	T o m  M i t c h e l l
	mitch48 -a*t- yahoo-dot-com




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux