![]() |
Can't Change File Permissions in Terminal on a File
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 Code:
chmod 777 bootstrap Code:
chmod u+x bootstrap No go....so tried changing ownership: Code:
chgrp user bootstrap What should I do in order to be able to execute this script???? Thanks for any help! Mark |
Re: Can't Change File Permissions in Terminal on a File
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 ???:p :D ./sifo |
Re: Can't Change File Permissions in Terminal on a File
Quote:
Thanks! |
Re: Can't Change File Permissions in Terminal on a File
well ArchiMark that was a brain fart :D but which one worked moving the script or chmod +x ?? + im happy i could help ;)
|
Re: Can't Change File Permissions in Terminal on a File
Quote:
|
Re: Can't Change File Permissions in Terminal on a File
yeah i know that but i didnt expect it to work ;)
|
Re: Can't Change File Permissions in Terminal on a File
I did both, sifo....just assumed that was what you meant....
|
Re: Can't Change File Permissions in Terminal on a File
what about chmod +x /opt/myapp/script.sh? it shoud work?
|
Re: Can't Change File Permissions in Terminal on a File
why bumping old threads?
|
Re: Can't Change File Permissions in Terminal on a File
Quote:
Sorry, private messages from now on |
All times are GMT. The time now is 23:16. |
vBulletin® Version 3.8.8