Reply
Thread Tools
Branchedout's Avatar
Posts: 57 | Thanked: 2 times | Joined on Aug 2008
#1
I can't seem to find an answer on how to access /usr or /home in the file manager. I need to copy a file there. I can't find them though
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#2
Originally Posted by Branchedout View Post
I can't seem to find an answer on how to access /usr or /home in the file manager.
File Manager won't let you do that. You might try EmelFM2. I believe you'll need to launch it from the command line after becoming root to put files in /usr.
__________________
maemo.org profile
 
jmjanzen's Avatar
Posts: 192 | Thanked: 60 times | Joined on Sep 2008 @ Wichita, KS
#3
you can't get there using the built-in file manager. (crappy, i know.)

get emelfm2. it's very useful, especially once you memorize the functions of the many button icons. (you'll see what i mean when you run it.)

EDIT: ok, i guess i wasn't quick enough on that one. and that's a good tip about changing to root. you will have to do that to modify /usr, but not /home
 
jperez2009's Avatar
Posts: 250 | Thanked: 122 times | Joined on May 2009 @ Colorado
#4
Pretty easy. As stated above, you can use EmelFM2 and become root. If you're used to the command-line, you can become root, "cd /" to the root directory and "mv" the file you need to the folder of choice.

If you're not very familiar with the command-line, use EmelFM2 as root from the command-line.

Code:
root
emelfm2
You'll have copy/paste/editing permissions then for anything you need to do.

if you want something else that's not so "flashy" as EmelFM2, use GPE-File Manager. Only problem with that is you can't see hidden ".folder" directories.

Jesse~
__________________
N900 + GameGripper + Emulators + Kernel Power = <3
Request: NSF/SPC/GBS/USF/PSF/GSF/2SF/Adlib Player or Add-on for N900
 
Den in USA's Avatar
Posts: 1,390 | Thanked: 642 times | Joined on Nov 2007 @ California USA
#5
Originally Posted by Branchedout View Post
I can't seem to find an answer on how to access /usr or /home in the file manager. I need to copy a file there. I can't find them though
Those folders cannot be seen with the standard file manager. Try emelFM2.
__________________
N800 / Diablo / 16gb int / 16gb ext / Globalsat BT-359 gps ..... Dell Streak 5 - Android 2.2.2
 
Posts: 289 | Thanked: 83 times | Joined on Jul 2006
#6
Originally Posted by Branchedout View Post
I can't seem to find an answer on how to access /usr or /home in the file manager. I need to copy a file there. I can't find them though
To access them, or any other path of your choice, from within Xterm do:
Code:
cd /home/user/MyDocs
ln -s /home/user Home
ln -s / Root
and they will appear in File Manager!

--denis
 

The Following User Says Thank You to delaroca For This Useful Post:
jperez2009's Avatar
Posts: 250 | Thanked: 122 times | Joined on May 2009 @ Colorado
#7
@ denis, only problem is that you still can't see hidden files/folders doing that. If you need to access a hidden folder (.foldername), then use EmelFM2 since that seems to work out well for doing that.

Jesse~
__________________
N900 + GameGripper + Emulators + Kernel Power = <3
Request: NSF/SPC/GBS/USF/PSF/GSF/2SF/Adlib Player or Add-on for N900
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#8
Originally Posted by delaroca View Post
To access them, or any other path of your choice, from within Xterm do:
Code:
cd /home/user/MyDocs
ln -s /home/user Home
ln -s / Root
and they will appear in File Manager!

--denis
That is not a good idea -- you will create a circular file reference. Any application (or something in the OS itself) trying to read your device will get stuck in a forever loop navigating /home/user/MyDocs/home/user/MyDocs/home/user/...(etc).
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 

The Following 2 Users Say Thank You to BrentDC For This Useful Post:
jperez2009's Avatar
Posts: 250 | Thanked: 122 times | Joined on May 2009 @ Colorado
#9
To remove them, simply do this:

Code:
cd /home/user/MyDocs
rm Home
rm Root
This will remove the Symbolic Links that were created using delaroca's method.

Jesse~
__________________
N900 + GameGripper + Emulators + Kernel Power = <3
Request: NSF/SPC/GBS/USF/PSF/GSF/2SF/Adlib Player or Add-on for N900
 
Posts: 289 | Thanked: 83 times | Joined on Jul 2006
#10
Originally Posted by BrentDC View Post
That is not a good idea -- you will create a circular file reference. Any application (or something in the OS itself) trying to read your device will get stuck in a forever loop navigating /home/user/MyDocs/home/user/MyDocs/home/user/...(etc).
Yes, metalayer-crawler is such an app... I disabled it from day one -- not because of the mod above but because it kept on running too frequently.

Recursive file scans using 'find' work fine... ie., don't get tripped by the above so I live fine with the mod.

--denis
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:18.