Reply
Thread Tools
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#1
Trying to install latest cmake (v2.8.8) on N900....having weird problem trying to get the bootstrap script to run....

When I tried to run the script, I got 'permission denied'....

So, tried running script as root, still problem....

Checked permissions and it was:
Code:
-rw-r--r--    1  root     root      52155 Apr 18 11:10  bootstrap
So, I tried changing permissions to allow execution by doing:
Code:
chmod 777 bootstrap
So, then I tried:

Code:
chmod u+x bootstrap

No go....so tried changing ownership:

Code:
chgrp user bootstrap
But still no go.....tried a few other attempts to change permissions after that....but nothing works....

What should I do in order to be able to execute this script????

Thanks for any help!

Mark
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#2
HI ArchiMark.
look im not an expert with this but try chmod +x and maybe that script you are trying to run should be in /home/user and not MyDocs if it is i dont know if this got any meaning ???

./sifo
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following User Says Thank You to sifo For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#3
Originally Posted by sifo View Post
HI ArchiMark.
look im not an expert with this but try chmod +x and maybe that script you are trying to run should be in /home/user and not MyDocs if it is i dont know if this got any meaning ???

./sifo
That worked!

Thanks!
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 

The Following User Says Thank You to ArchiMark For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#4
well ArchiMark that was a brain fart but which one worked moving the script or chmod +x ?? + im happy i could help
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Posts: 245 | Thanked: 915 times | Joined on Feb 2012
#5
Originally Posted by sifo View Post
well ArchiMark that was a brain fart but which one worked moving the script or chmod +x ?? + im happy i could help
Probably the combination of the two. MyDocs is a FAT32 partition, which doesn't support permissions, so doing a chmod doesn't actually do anything. Once the file is moved, it can then be made executable and everything works.
 

The Following 2 Users Say Thank You to itsnotabigtruck For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#6
yeah i know that but i didnt expect it to work
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#7
I did both, sifo....just assumed that was what you meant....
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800
 

The Following User Says Thank You to ArchiMark For This Useful Post:
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#8
what about chmod +x /opt/myapp/script.sh? it shoud work?
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#9
why bumping old threads?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#10
Originally Posted by coderus View Post
why bumping old threads?
I'm always cautious of being off-topic. Didn't know that "bump" old threads was prohibited too.

Sorry, private messages from now on
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:38.