SliTaz SliTaz Forum

You are not logged in.

#1 2015-07-15 12:59:20

leninelenine
Member
Registered: 2015-01-20
Posts: 9

permission denied as root

Hello

When I execute an .sh file as root, the terminal display this:

root@quentin:~/free-cad-code$ ./ configure

/bin/sh: ./: Permission non accordée

root@quentin:~/free-cad-code$

Did someone know how to solve this please?

Thanks

Offline

#2 2015-07-15 17:04:33

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: permission denied as root

Hello,

There is no space between '/' and 'c'.

./configure and not ./ configure

Offline

#3 2015-07-16 01:53:57

leninelenine
Member
Registered: 2015-01-20
Posts: 9

Re: permission denied as root

Hello

Now when I try:

./configure

I have:

/bin/sh: ./configure: not found

Offline

#4 2015-07-16 06:12:31

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: permission denied as root

Hi,

Is your script [c]configure[/c] or [c]configure.sh[/c]?

What about [c]./configure.sh[/c]

Offline

#5 2015-07-16 09:09:25

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: permission denied as root

Hello,

Try: head -n 1 configure

You may need to install a package such as bash or perl.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]