Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash: scripts/bootstrap.sh: Permission denied???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
A-PLU
n00b
n00b


Joined: 09 Mar 2004
Posts: 50
Location: ptbo ON

PostPosted: Sat Apr 10, 2004 11:27 pm    Post subject: bash: scripts/bootstrap.sh: Permission denied??? Reply with quote

when i try and bootstrap my system to go from a stage1 to satge2 it gives me that message. what have i done wrong? What does bootstraping a system do that might help me figure out the problem.

I have done cd /usr/portage so thats not it
_________________
Q: How can i phone line give u fast internet?

A: Use it to call your local cable company.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Apr 10, 2004 11:31 pm    Post subject: Reply with quote

Is it executable?
Code:
# chmod +x scripts/bootstrap.sh

_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Boohbah
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 250
Location: Seattle

PostPosted: Sat Apr 10, 2004 11:33 pm    Post subject: Reply with quote

Are you sure you untarred the stage with the -p flag? That saves permissions. What does
Code:

root@xzvf /usr/portage # ls -al scripts/bootstrap.sh
-rwxr-xr-x    1 root     root         8512 Apr  5 23:45 scripts/bootstrap.sh

show you? That file should be executable. If not, start again from the unpacking the stage1 tarball step and make sure to use the -p flag with tar.
_________________
Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein

(Note, however, that virgins tend to know a lot about computers.)
Back to top
View user's profile Send private message
A-PLU
n00b
n00b


Joined: 09 Mar 2004
Posts: 50
Location: ptbo ON

PostPosted: Sat Apr 10, 2004 11:42 pm    Post subject: Reply with quote

thx codergeek42 i enterd that comand and then it did nothing so i tryed the original bootstrap comand and then it worked i dont know if that was what u was thinking/wanted to happend or if this is going to work in the end but its working so thx.
Back to top
View user's profile Send private message
Boohbah
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 250
Location: Seattle

PostPosted: Sun Apr 11, 2004 12:09 am    Post subject: Reply with quote

What concerns me is why that script wasn't executable in the first place, which lead me to believe that you missed the -p flag on tar. That will mess up permissions on your whole system and lead to loads of troubles later, so make sure that you did use the -p flag.
_________________
Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein

(Note, however, that virgins tend to know a lot about computers.)
Back to top
View user's profile Send private message
SexyT
n00b
n00b


Joined: 15 Apr 2004
Posts: 7
Location: Germany, N

PostPosted: Thu Apr 15, 2004 4:42 pm    Post subject: Same problem... Reply with quote

I had the same problem and I'm pretty sure, i've not forget the 'p' option... Maybe the file just won't set to be executable. Used 'sh scripts/bootstrap.sh' and it works also very well! :roll:
Back to top
View user's profile Send private message
jericospeedy
n00b
n00b


Joined: 23 Apr 2004
Posts: 2

PostPosted: Fri Apr 23, 2004 5:29 pm    Post subject: Reply with quote

[quote] Boohbah:
What concerns me is why that script wasn't executable in the first place, which lead me to believe that you missed the -p flag on tar. That will mess up permissions on your whole system and lead to loads of troubles later, so make sure that you did use the -p flag.
[quote]

This also happened to me during installation. I edited permission to be able to start the bootstrap, and have completed it (ready to start stage 2). My concern if that I may never have used the -p flag, and I am wondering about the 'loads of trouble later' of which you speak. I notice you made this post a long time ago - hopefully you will still respond. If there will be problem later on, any suggestion on fixing it after installation is complete?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum