Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

How to change cookies (and cache) location to encrypted partition

  • Hi,

    I have encrypted partition (LUKS) mounted in fstab (password is at boot time). I would like to move cookies and cache location to dir on this partition. How to change this?

    Edit: In fact I would like to keep everything (history etc) on that partition


  • Solved by creating symlink in ./config/opera to folder on my encrypted partition:

    • Close Opera
    • Copy your current /home/(USER)/.config/opera to encrypted destination
    • Wipe / shred /home/(USER)/.config/opera
    • Create symlink: ln -s /home/(USER)/.config/opera path_to_folder_on_encrypted_partition
    • Run Opera
  • @dibo1984:

    Create symlink: ln -s /home/(USER)/.config/opera pathtofolderonencrypted_partition

    I think you mixed the order; it should first be the target, then the link name (including the path to it).

    EDIT: First now I see you answered your own question, but I guess this info can be useful for other users 😉

  • Ahh you are right. The order is wrong 🙂