A much more EU style directive would be to force all operating systems to ask on every boot: Do you consent for this OS to store files on your hard drive?
No, the EU version of that would be requiring OSs to ask before using a disk, and certain proprietary OSs deciding to spam the user with requests on every boot until they consent - at which point suddenly the OS can magically remember that preference - and then pretending that the law forced them to do that even though it said no such thing.