View previous topic :: View next topic |
Author |
Message |
A-PLU n00b
Joined: 09 Mar 2004 Posts: 50 Location: ptbo ON
|
Posted: Sat Apr 10, 2004 11:27 pm Post subject: bash: scripts/bootstrap.sh: Permission denied??? |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Apr 10, 2004 11:31 pm Post subject: |
|
|
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 |
|
|
Boohbah Apprentice
Joined: 17 Oct 2003 Posts: 250 Location: Seattle
|
Posted: Sat Apr 10, 2004 11:33 pm Post subject: |
|
|
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 |
|
|
A-PLU n00b
Joined: 09 Mar 2004 Posts: 50 Location: ptbo ON
|
Posted: Sat Apr 10, 2004 11:42 pm Post subject: |
|
|
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 |
|
|
Boohbah Apprentice
Joined: 17 Oct 2003 Posts: 250 Location: Seattle
|
Posted: Sun Apr 11, 2004 12:09 am Post subject: |
|
|
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 |
|
|
SexyT n00b
Joined: 15 Apr 2004 Posts: 7 Location: Germany, N
|
Posted: Thu Apr 15, 2004 4:42 pm Post subject: Same problem... |
|
|
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! |
|
Back to top |
|
|
jericospeedy n00b
Joined: 23 Apr 2004 Posts: 2
|
Posted: Fri Apr 23, 2004 5:29 pm Post subject: |
|
|
[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 |
|
|
|