Tiny Core Linux

General TC => General TC Talk => Topic started by: Guy on May 25, 2009, 07:50:05 AM

Title: Wget with Encrypted Home
Post by: Guy on May 25, 2009, 07:50:05 AM
I sometimes download large files, such as ISOs, using wget.

If these are saved in backup, backup takes a long time.

A simple way to avoid this, is to download them to /home, instead of /home/tc.

That works if you use home=sdXY.

However, if you use encrypted home, the /home folder is not saved.

They can be downloaded to /mnt/sdXY. However, to do this you need to use the root terminal.

Having the root terminal open creates a security vulnerability.

Is there a way files can be downloaded using wget with the non-root terminal, when using encrypted home, so they are not saved in the encrypted home or backup?
Title: Re: Wget with Encrypted Home
Post by: curaga on May 25, 2009, 08:07:58 AM
Create a directory on your drive that has write permissions for user tc. Then you can download files to that directory in a non-root terminal.

Of course this assumes your partition supports linux permissions.