Reply
Thread Tools
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#11
chmod u+x /home/user/bin/smsmodscript
gives me: no such file or directory?

tried removing .txt from the file and from the command

my txt file is called smsmodscript.txt

i dont have a /home/user/bin/ folder
only have a /usr/bin folder

using WinSCP

__________________
born to rage against them

Last edited by leetut; 2010-06-27 at 22:48.
 
willi_iam's Avatar
Posts: 27 | Thanked: 20 times | Joined on Jun 2010 @ Cologne
#12
It doesn't matter where you save the file, but I don't like saving it to /usr/bin because it's a system folder (and would get lost with a reflash ).

You can save it to /home/user also, or you create /home/user/bin with:
Code:
mkdir /home/user/bin
for the chmod-command you have to change into the directory where the file is located and type:
'chmod u+x smsmodscript'
or, if you're in an other directory:
'chmod u+x /your/path/to/smsmodscript'

where 'smsmodscript' is the filename you've choosen for the script and which it was saved to...
__________________
Everything is a file and if it's not, it should be!
 

The Following User Says Thank You to willi_iam For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#13
ive put the file smsmodscript.txt into home/user

and typed chmod u+x smsmodscript
and
chmod u+x /home/user/smsmodscript

but still get no such file or directory
__________________
born to rage against them
 
willi_iam's Avatar
Posts: 27 | Thanked: 20 times | Joined on Jun 2010 @ Cologne
#14
you have to use the correct filename...

Either you rename the file to 'smsmodscript' (without .txt) or you have to add the .txt to chmod-command

I'd prefer renaming, because .txt is misleading
__________________
Everything is a file and if it's not, it should be!
 

The Following User Says Thank You to willi_iam For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#15
id just figured that out bro, when it started working!
awesome info all that, i knew it was going to work when i started reading it,
as always it was just a case of my brain understanding it!
anyway, what i did was make 2 buttons, one to crash the messaging app, and one to make it work again, kind of a a lock and unlock feature:

__________________
born to rage against them

Last edited by leetut; 2010-06-27 at 23:16.
 
willi_iam's Avatar
Posts: 27 | Thanked: 20 times | Joined on Jun 2010 @ Cologne
#16
Hey... I'm glad if i could help you...

Now go on and script the hell out of your pocket-plaything :P
__________________
Everything is a file and if it's not, it should be!
 

The Following User Says Thank You to willi_iam For This Useful Post:
leetut's Avatar
Posts: 1,169 | Thanked: 1,174 times | Joined on Jan 2010 @ sunderland
#17
yeah man, both you and Joorin helped me understand a lot in this thread, but your info got my little mod working!
now my woman cant look at my texts when im not around!
happy days!
__________________
born to rage against them
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#18
Originally Posted by leetut View Post
now my woman cant look at my texts when im not around!
happy days!
That's the lowest level of hack there is.
 

The Following User Says Thank You to Joorin For This Useful Post:
Reply

Tags
killall


 
Forum Jump


All times are GMT. The time now is 09:34.