You are not logged in.

#1 2009-12-23 15:31:47

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

[SOLVED]bash: Permission denied

Hi!
After yesterdays update (pacman -Syu) i can't seem to run scripts or execute commands like
./configure
here is me trying to compile xbmc.

==> Bootstraping XBMC
/home/*****/build/xbmc-pvr-svn/PKGBUILD: ./bootstrap: /bin/sh: felaktig tolk: Åtkomst nekas <--(Permission denied)
==> Configuring XBMC
/home/*****/build/xbmc-pvr-svn/PKGBUILD: ./configure: /bin/sh: felaktig tolk: Åtkomst nekas <--(Permission denied)
==> FEL:  Build misslyckades  <--(build failed)
    Avbryter...

sorry my locale is Swedish.

here is me trying to run script that starts vdr.

./startvdr
bash: ./startvdr: Permission denied

What caused the problem was, my external drives is not auto mounted in Gnome so i used this udev rule
http://wiki.archlinux.org/index.php/Ude … _it_exists
which by the ways works great, after i deleted the udev rule file and rebooted everything is back to normal.

Last edited by decaturguy (2009-12-23 23:26:34)

Offline

#2 2009-12-23 15:51:39

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: [SOLVED]bash: Permission denied

Hi,

Maybe the permissions and/or the owner/group changed?

Therefore, you could post:

ls -l /PATH/startvdr

Offline

#3 2009-12-23 16:23:41

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: [SOLVED]bash: Permission denied

ZaQ wrote:

Hi,

Maybe the permissions and/or the owner/group changed?

Therefore, you could post:

ls -l /PATH/startvdr

nothing wrong with the permissions:

-rwxr-xr-x  1 myusername users      180 23 feb  2009 startvdr

i can run my scripts like this: bash ./startvdr
but, bash ./configure is no go it get stuck.

configure: WARNING: unrecognized options: --enable-external-libmad, --enable-external-libfaad, --enable-external-libvorbis, --enable-external-libmpcdec, --enable-external-libflac
configure: Ensuring config.guess and config.sub exist and is executable
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ccache... none
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/home/****/build/xbmc-pvr-svn/src/pvr-testing2':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

Offline

#4 2009-12-24 06:03:27

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: [SOLVED]bash: Permission denied

.

Last edited by fumbles (2021-05-08 11:45:48)

Offline

#5 2009-12-24 11:19:02

decaturguy
Member
From: Sweden
Registered: 2006-11-28
Posts: 117

Re: [SOLVED]bash: Permission denied

fumbles wrote:

Instead of just putting "[SOLVED]" in the title, could you please put how you 'solved' your problem so when some one uses the search function they don't start foaming at the mouth for going into a thread which helps no one?

Thanks,

Read at the end first post!!!
Most people usually edit the title and post their solutions at the end of the first post.

Offline

Board footer

Powered by FluxBB