maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   how to access /home or /usr (https://talk.maemo.org/showthread.php?t=30007)

Branchedout 2009-06-30 20:08

how to access /home or /usr
 
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

sjgadsby 2009-06-30 20:14

Re: how to access /home or /usr
 
Quote:

Originally Posted by Branchedout (Post 301176)
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.

jmjanzen 2009-06-30 20:17

Re: how to access /home or /usr
 
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 2009-06-30 20:18

Re: how to access /home or /usr
 
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~

Den in USA 2009-06-30 20:21

Re: how to access /home or /usr
 
Quote:

Originally Posted by Branchedout (Post 301176)
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.

delaroca 2009-06-30 23:47

Re: how to access /home or /usr
 
Quote:

Originally Posted by Branchedout (Post 301176)
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

jperez2009 2009-06-30 23:57

Re: how to access /home or /usr
 
@ 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~

BrentDC 2009-07-01 01:23

Re: how to access /home or /usr
 
Quote:

Originally Posted by delaroca (Post 301252)
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).

jperez2009 2009-07-01 01:57

Re: how to access /home or /usr
 
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~

delaroca 2009-07-02 00:54

Re: how to access /home or /usr
 
Quote:

Originally Posted by BrentDC (Post 301273)
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


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

vBulletin® Version 3.8.8