by AStonesThrow · 1y ago · 0 comments
Cloud services make difficult and sometimes even byzantine processes for deleting stuff, and it's often impossible to operate en masse in order to clean up swaths of stuff quickly and efficiently. It's in their interest to retain everything at all costs, because more used storage can mean more profits. Cloud services also profit from unused storage, because if they're charging $20/year to 100,000 users who use 2% of their storage space, ka-ching!
It irks me to this day that standard or even advanced filesystems don't include "expiration dates" or "purge dates" on file objects. Wouldn't it be logical, if an organization has a "data-rentention policy" that mandates destruction after X date, that the filesystem simply purges it automatically? Why does this always get delegated to handmade userland cron jobs? Moreover, to my knowledge, nobody is really interested in devising a way to comb through backup media in order to [selectively] destroy data that shouldn't exist anymore. Not even the read-write media!
Google is now auto-deleting stuff like OTP SMS messages. I'd love it if auto-delete could be configurable account-wide, for more than just our web histories and Maps Timeline and stuff. Unfortunately, to "delete" cloud data means it still exists on backups anyway. But without deleting data in your cloud account, it becomes a juicier hacker target as it ages and accumulates personal stuff that shouldn't fall into the wrong hands. Likewise for any business, it behooves them to delete and destroy data that shouldn't be stolen. At least move it offline so that only physical access can restore it?
I will say that modern encryption techniques can make it easy to "destroy" data, simply by destroying the encryption keys. You can quickly render entire SSDs unreadable in the firmware itself with such a command. Bonus: sometimes it's even done on purpose!
But even deleting data presents a maintenance cost. So if 90% of an org's data is indeed crap, then 90% or more of your processing resources are going to be wasted on sifting through it at some later date. Imagine when your file formats and storage devices are obsolete, and some grunt needs to retrieve some record that's 30 years old, and 90% of your data was always crap. That grunt is hopefully paid by the hour. We really had this happen at a few of my jobs, where we had old reel-to-reel backup tapes and it was difficult enough to load the data into a modern SunOS machine.
Google or apple can put a big button delete everything in their phones/accounts but then some prankster will do it to a family member and this gives bad PR. Let's be pragmatic.
> It's in their interest to retain everything at all costs, because more used storage can mean more profits.
As an user, I get the reverse. When I had local NAS then I dumped anything and everything - assuming.. this costs not much. Will clean up later. Once I moved to cloud that changed to If I put crap then it will cost me money! Keep it clean
Once upon a time Google had given generous unlimited to all education and workspace. They stopped it in the last 2 years and you can see most educational and companies are running a tight ship.
Due to backup costs in our organisation we are forcing people to use max of 100GB for emails.
> advanced filesystems don't include "expiration dates" or "purge dates" on file objects. Wouldn't it be logical, if an organization
Totally agree.
Outlook email service has some kind of keep only the last newsletter from this service etc.
> auto-delete could be configurable account-wide, for more than just our web histories
- features are designed with majority in mind - most users have some sort of nostalgia for reading or keeping old emails SMS etc
Except when the app writes files outside of its own space, which is meant for stuff that should stay (like pictures).
Of course, some apps store the pictures in their private space, and you lose the pictures when you remove the app. And some apps write crap in the shared space. But that seems like a fundamental limitation (even if it was done at the filesystem): how do you make sure that the apps/software you use is doing it right?
"File-type strictly associated with app" is good for security and it's good for people's mental organization. Unfortunately you're referring strictly to local file storage, I assume, and practically nothing on my phone is in local storage but "in the cloud". The only local storage I use is for ringtones and certain audiobooks/prayers which I enjoy listening whether or not I'm connected to a network.
It would seem that data centers and cloud services are a long way from "file types strictly associated with app" and also the sort of behavior you describe would be really horrible and undesirable in a typical data-center setting. I mean, I can't even imagine how it'd be implemented, given that data storage is often remote or at least decoupled from the "application server", and it's definitely never a 1:1 relationship between those abstracted components.
Can you imagine needing to "delete the /bin/tar application" in order to purge every file ending in ".tar" or ".tgz"?
But it's true that the new mobile OS paradigm has advantages for cleanup. If you've got a 3rd-party app and you've created some big crap files with it, and you uninstall that app, then it's a clean sweep when it takes along all the crap and you don't need to worry about lingering loose ends, or files you simply can't open, because their handler's gone.
Scoped storage is way more secure; it's also wonderful on my Androids that I can selectively grant access to files and media, rather than giving "the keys to the kingdom" to all these Social Media apps. I definitely never want to post my bank screenshots to Facebook and the possibility no longer looms!
These days I am sort of nonplussed when a web app demands an all-access pass to my Google Drive, because permissions can be appropriately scoped now, and the app can play in its own Drive "Sandbox" without having access to my spreadsheets and medical records. I just wish that there were some really good "cleanup" apps. Remember those "cleanup" programs that would come with antivirus for your PC, or Regclean, or whatever freeware utility would purport to liberate your 10MB HDD? Those were good times.
It's the same with social media posts--I often wish to really scrub my account, delete all posts and all comments and basically all activity, and while that's possible on Facebook it's arduous and it takes me weeks to scrub the major stuff after 4-5 years. But I only think of it on Shrovetide Monday or Fat Tuesday, and then I spend 3 weeks in Lent doing scrub, scrub, scrub. Sometimes the mouse/keyboard gestures are more repetetive & physically demanding than cleaning the toilet. Way too difficult, and that's by design.
For the expiration dates most modern file systems have the concept of arbitrary extended attributes per file. It's quite easy to add meta data like this yourself.
It's like gym memberships, ISP/telco service bundles, and amenities at your apartment complex. Anyone not using every possible service is wasting money, but it's impossible to purchase a bespoke service, so essentially everyone will waste money because they're chipping in money for services that someone else uses more than they do.
Here at home I don't ever use the gym, the racquetball courts, the doggy-doo supplies, the laundry room, or a parking space, and yet my rent (everyone's rent) includes upkeep for all of those things. I'm subsidizing all my neighbors and all the wear-and-tear damage they put on those common amenities. Likewise, everyone who's paying $24/year for storage, or any business that purchases big multi-terabyte storage media, they're paying for unused storage space and giving profit. It's practically impossible to rightsize your storage media, and you never want it undersized, and you can't simply shrink them and reclaim the resources you invested, you just keep adding on new ones and replacing the malfunctioning ones. So nearly everyone always owns or rents more space than they can realistically utilize.
Furthermore, you'll notice that I specified "automatic" destruction of data by expiration date. Of course it is trivial to tag any arbitrary file with arbitrary metadata, but the challenge is to create a filesystem that executes automatic data purges on schedule, rather than pushing it into a rickety old handmade cronjob in userland. I've never ever seen a filesystem with such a feature, nor does it seem that anyone's interested in doing so.
And here I thought that computers were useful for automating business logic and easing the burden on human effort. And this is me, manually sifting through emails and photos in order to manually delete each one with 3 dialog boxes intervening. It takes hours, days, weeks.
For personal data, the concept would be simpler but still has requirements like say tax records need to be kept 7 years.
There is no clear path forwards. Perhaps regulation could be a solution but I doubt it would turn out nice.