Shift thunderbird to another partition

Rosika, I suspect that the simplest solution will be to create a symlink pointing to .thunderbird’s new location after you have moved it.

If I wanted to do what you are trying to do, I’d do the following:

  1. mv -r ~/.thunderbird /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/.thunderbird

Note: The syntax for ln is ‘ln [OPTION]… [-T] TARGET LINK_NAME’, so the command, executed from your home directory will be:

  1. ln /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/.thunderbird ~/.thunderbird

IIUC, After completing these two steps, when you run Thunderbird, it should work as if the .thunderbird file is still at ~/.thunderbird.

If you decide to try this out, please let me know how it works out as I’ve never tried to do anything similar here,

Ernie

3 Likes

Hi Ernie, :wave:

thanks for your help.

In fact I did it just like you recommeded. And it worked out fine.

The difficulties I ran into (see post #17) were due to the fact that I run thunderbird in a firejail sandbox by default.

Of course just running the process thunderbird wouldn´t locate its new profile location as the TB profile settings (defined by firejail) are too restrictive to access it.

As already pointed out the command I´d have to use is:

firejail --private=/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/thunderbird_neu thunderbird

It defines the new location

/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/thunderbird_neu

as firejail´s private directory.
Seen from firejail´s point of view this is /home/rosika.

I.e. firejail won´t access the “original” home but just its newly created private home. :wink:
This way it has no permission to see the original home.

If used without the sandboxing technique your statement

After completing these two steps, when you run Thunderbird, it should work as if the .thunderbird file is still at ~/.thunderbird.

should be correct, of course. :+1:

Thanks a lot for your help, Ernie. :heart:

Many greetings from Rosika :slightly_smiling_face:

2 Likes

I missed that you are using thunderbird with firejail. If I had, I’d not have posted because I know nearly nothing about using it (firejail). I’m very happy you found a proper fix to help resolve your limited /home storage space issue.

Best luck with everything you do in the future and if I can help, I’ll be very happy to try,

Ernie

3 Likes

Hi Ernie, :wave:

sorry I couldn´t reply earlier.

No problem at all, Ernie. I´m still happy about your reaction to my query. Thanks for taking the time to figure out the solution to it. :heart:

You´re too kind. Thanks again.

That´s a generous offer. I´ll certainly come back to it. :blush:

Many greetings and have a nice day.

Rosika :slightly_smiling_face:

1 Like