-   Linux - Newbie (
-   -   file paths (

Mahoot 08-27-2003 10:10 AM

file paths
Ok, People I'm new to linux. I downloaded, burnt, and installed Mandrake 9.1, and everything works, more or less. Problem: Everything seems to save to :/home/myuseraccount. If I save something, I can direct it to :/usr/dir:ofmychoice or :/var/dir:ofmychoice, but things like kmail or ripped music seems to go to a file in home, which only has 400mb of space. I would like to direct kmail and grip to a file in :/user. Can anyone tell me how. (remember the newbie part, plain english would be appreciated.
Thank you for any input you may share.

MasterC 08-27-2003 02:37 PM

Please read the Please READ post:

This forum is for introducing yourself to the board, saying "hi" and all. For actual Linux questions you'll wanna ask in the appropriate forum on the board relating to your problem.


Mara 08-27-2003 03:14 PM

Moved to Newbie, as it fits better here. next time please choose the forum more carefully.

You can fix your problem by using symlinks. What you need to do is to create a directory somewhere where you have free space. Name is not important. You'll rather need to be root to do this. Then you need to change permissions to the newly-created directory to make it writable for your normal user.

Then, as your normal user, you need to move the directories that take much space to the new place. After you move a directory, create a symlink in your home with the same name as the directory (programs will write to it as before, but the data will be written in a different place).

That's the idea. Now commands you may find useful:

du - shows sizes of directories (useful to find ut which directories to move). Example use:
du /home/youruser

Well, that's the only thing that Midnight Commander (mc package) cannot do for you. MC is a file manager, similar to Norton Commander. You can even create symlinks with it. If you're familiar with MC, it'll be a great help.

Mahoot 09-02-2003 11:48 AM

Thanks Mara
I now have the problem solved.

All times are GMT -5. The time now is 09:10 PM.