Delete corresponding data when a feature of the Persistent Storage is turned off in the settings
When you turn off a feature of the Persistent Storage in the settings, right now the data is not erased from the USB stick.
This is not clearly communicated to the user who might think that this data has been deleted when it's not.
For example, people might have bad surprises if Tails autoconnects again to a Wi-Fi network that they had configured in the past but turned the feature off and back on since then.
We propose to always delete the data stored on the USB stick when turning off a feature in the settings. The question is how to communicate this to the user. We haven't redesigned this yet as part of the Persistent Storage redesign.
Always deleting the data on the USB stick would also help solving these issues, initially described in #19215 (closed):
- If I turning on again the Tor Bridge feature after connecting to Tor, the bridge configuration previously stored on Persistent Storage is not immediately used, and the amnesic configuration that's used and displayed in the UI does not reflect what's stored on Persistent Storage.
- After turning on again the Network Connections feature, connections that were already stored on Persistent Storage are still not available to the user.
- After turning on again the Additional Software feature, packages previously configured in Persistent Storage are not immediately installed.
- Turn on and turn off here to refer to the user action in the settings UI.
- Activating and deactivating to refer to mounting and unmounting the corresponding folder of the USB stick in the background.
Delete section of the doc about data not being deleted