Reply
Thread Tools
Posts: 150 | Thanked: 17 times | Joined on Apr 2010
#1
having problems with http://talk.maemo.org/showpost.php?p=914062&postcount=1 step 5, i cant cd the boot directory without being root,
but leafpad closes when root upon saving the file!
anyway around this

gav
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#2
The example code shows that the user has already switched to root user - the prompt is '#'. (for the normal user the prompt would be '$').

"but leafpad closes when root upon saving the file!"
- you're gonna have to explain that 'cos it doesn't make sense.
__________________
May the source be with you.
 

The Following User Says Thank You to jedi For This Useful Post:
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#3
Don't do it that way, you're obviously not a power user (no offence intended) so if I were you I would be using fAircrack rather than the CLI script version........
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 

The Following User Says Thank You to Switch_ For This Useful Post:
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#4
Originally Posted by jedi View Post
"but leafpad closes when root upon saving the file!"
- you're gonna have to explain that 'cos it doesn't make sense.
I think this is something I've often seen.
After becoming root, go to a directory, open a file for editing there with leafpad, when you try to save, Leafpad crashes.

I have since acquired the habit of just editing any configuration files from Filebox.
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#5
Originally Posted by rotoflex View Post
I think this is something I've often seen.
After becoming root, go to a directory, open a file for editing there with leafpad, when you try to save, Leafpad crashes.

I have since acquired the habit of just editing any configuration files from Filebox.
Oh I see. You could also do it the mans geeks way and use 'vi'
__________________
May the source be with you.
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#6
Leafpad will crash for root if the file doesn't exist.

Before the leafpad command create the file:
Code:
> /etc/multiboot.d/01-Maemo-2.6.28.10power46-wl1.item
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:23.