6 ms·
The iOS bug that made deleted photos reappear
- Grimeton 2y agoI love how everyone talks about "deleted pictures". Those pictures were never deleted in the first place and just got marked as "don't show to user anymore". That's all there is to it. Apple, like all the other cloud companies does not delete anything.
- noahtallen 2y agoI don’t think so. Firstly, there’s this: https://old.reddit.com/r/ios/comments/1cwgljj/regarding_the_ios_175_photo_glitch/ https://old.reddit.com/r/ios/comments/1cwgljj/regarding_the_... Secondly, there’s the iOS changelog that mentions corrupted files re-appearing. Finally, if you have iCloud Photos turned off (as many do), nothing is getting saved to the cloud, and there’s no benefit to Apple keeping it on device. You’re suggesting that no picture in the photos app is ever truly deleted, and implying that Apple uses this for some nefarious purpose. But there’s no evidence for that.
- Grimeton 2y agoThe whole article on Reddit is a farce and contradicts itself, and don't insinuate things that haven't been said.
- fckgw 2y agoThis issue had nothing to do with iCloud.
- NoPicklez 2y agoWhy do you "love how", the reason people say deleted, was because they deleted them and expected them to be gone and out of sight. It doesn't matter what the technical reason or method is used for 'deleting' them. It has been the case for decades that when you delete files those files aren't necessarily gone, but they are out of view from the average prying eye.
- Grimeton 2y agoAnd that is something you and I know but that the broader public neither knows nor really understands. And looking at what is said in this article and in other articles regarding this issue on the net it seems not even these people understand it.
- NoPicklez 2y agoSo if that's the case then how can you make the claim that you have if people don't understand what has gone wrong. If Apple implements a function to delete a photo and the implementation of that delete button has a bug that doesn't infact delete the copy of the photo. Then that's different to the technical way in which files generally are removed from file systems.
- Grimeton 2y agoThere are far too many things that don't add up: - According to reports we have photos resurfacing that are 10 years old [1] - The oldest phone supported by iOS 17 is an iPhone 11 [2], hat was released in 2019. 2024-2019 = 5. Explain how we see 10 year old photos resurfacing when the oldest phone supported is an iPhone 11 from 2019 and it is safe to assume that the photo resurfaced on a phone it was not taken on because the user MUST have switched phones in between as 10 year old models are not supported by iOS17. How does that add up? The explanation given to us is that the phone stores the images in two different locations [3]. Of course, on phones were storage space is scarce we store the same image twice. Makes perfect sense. And then they introduced deduplication in the filesystem to make up for the lost space or what? Even if we assume that the photo is just added to the Photo.App database so that it is displayed there, then that doesn't explain why a deleted image from the Photo.app that still existed on the filesystem has not been readded to the Photo.app after a system update like we see now. So there has to be some mechanism that filters those files out, which means that it's done on purpose. Another question is how did those files move between phones as we can assume users switched phones in between because of the supported devices of iOS17. Have they been part of the backup/restore process? If so, why? And why has nobody noticed that the backups became bigger and bigger? Are we probably talking about a hand full of photos here? How come some got deleted and others didn't? What kind of a bug is that? And why do people also see voice messages reappear that have been deleted ages ago? [4] I wonder what else will reappear and how Apple explains how all these files were moved between phones without bloating the backup and/or being stored somewhere in the cloud and not using space on the local storage. There are many more questions I have on this, but it's interesting to see that even security researchers just come up with a quick answer and don't question the overall situation. [1] - https://www.macrumors.com/2024/05/15/ios-17-5-bug-deleted-photos-reappear/ https://www.macrumors.com/2024/05/15/ios-17-5-bug-deleted-ph... [2] - https://support.apple.com/de-de/guide/iphone/iphe3fa5df43/ios https://support.apple.com/de-de/guide/iphone/iphe3fa5df43/io... [3] - https://old.reddit.com/r/ios/comments/1cwgljj/regarding_the_ios_175_photo_glitch/ https://old.reddit.com/r/ios/comments/1cwgljj/regarding_the_... [4] - https://www.imore.com/iphone/apple-might-be-dealing-with-another-resurfacing-bug-in-ios-175-and-this-time-its-voicemails https://www.imore.com/iphone/apple-might-be-dealing-with-ano...
- WheatMillington 2y agoI'm seeing a lot of Apple apologists making this weird semantic argument. If a user selects a file and clicks "Delete", then by all reasonable measures they deleted the photo. These photos were restored LOCALLY, not from a cloud server, not that it makes a difference in a practical sense, in terms of consequence.
- joshstrange 2y agoMy understanding is the flow was something like this: * User saves an image to the Files app (aka filesystem) * User imports image from Files to Photos * User deletes image from Photos * On the iOS update in question there was a migration to add images from the Files app to the Photos app * People think photos were undeleted when they had been in the files app all along I think we could spend a lot of time trying to determine if an imported picture that’s deleted should delete its source. Personally I think an import is a copy (not a move), and the source is left alone but I’m sure other people (people who don’t understand computers very well or those who do expect it to be a move operation) might disagree.
- luyu_wu 2y agoThis would imply deleting photos does not increase free space which is empiracally false. While unfortunately the iPhone's filesystem is heavily abstracted, Photo's is just a frontend for files AFAIK.
- joshstrange 2y agoNo, what I understand is it’s a case where you saved an image to Files, then imported the picture into Photos or just resaved the image directly to Photos. Then deleted it in Photos only, the Files version was still there.
- luyu_wu 2y agoAt least on Android (where I have a lot more expertise), Photos are detected by Gallery which quite literally is just a frontend with nice thumbnails. Are you sure manually importing from files to gallery is a behaviour that exists? I definetly may be misremembering iOS behaviour!
- donavanm 2y ago> Apple, like all the other cloud companies does not delete anything. This is patently false. Ive literally, personally, implemented safeties and mechanisms to responsibly remove customer content multiple times. Ive worked for both Apple and AWS and both companies take customer content and privacy very seriously. So much that it actually impedes support and business operations.
- dangus 2y agoYou’re completely ignoring the actual technical details of the bug and just assuming that cloud companies will happily keep every 100GB 4K video that users upload and subsequently delete even when the user isn’t paying for it. And they’ll just keep it for some kind of vague tin foil hat “make money off your data” reason. Yeah, Facebook does that to some extent, with content that is heavily compressed in the first place, but it’s also likely they clean out information like that once they have the metadata that is valuable for advertisers or once the information becomes stale. Data that has no commercial value is actively costing the company money. Facebook is pretty upfront about this. They delete some of it…”some” presumably being the data that is worthless to them: https://www.facebook.com/help/356107851084108 https://www.facebook.com/help/356107851084108 With cloud storage providers that charge by the gigabyte and store originals that have not been compressed further, every gigabyte of data that is being allocated and not paid for is unwanted COGS. Cloud companies would be bankrupt by now if your theory was the case.
- sparker72678 2y ago> Based on this code, we can say that the photos that reappeared were still lying around on the filesystems and that they were just found by the migration routine added in iOS 17.5. The reason why those files were there in the first place is unknown.
- abracadaniel 2y agoTheir conclusion also links to a plausible theory that it is from images that were also stored in Files due to a variety of factors. This analysis proves the images were imported after incorrectly doing a full filesystem scan for images. Hanlon’s razor may apply.
- lapcat 2y agoCoincidentally, Little Snitch on macOS 13.6.7 recently caught photoanlysisd attempting to make a connection to bag.itunes.apple.com. This is unusual, because I hadn't created a photoanlysisd rule in Little Snitch before, which suggests that it wasn't attempting to phone home before. The connection details say summary over 4 days, last denied May 19. This would put the first connection on May 15 or 14, soon after 13.6.7 and iOS 17.5 were released on May 13.
- orf 2y agoInteresting. Here are the API endpoints for that host, I wonder if any are relevant. https://bag.itunes.apple.com/bag.xml https://bag.itunes.apple.com/bag.xml
- Ariel_Asura 2y agoIt seems that Apple never truly deletes users' photos. Everything that has ever existed in our albums remains permanently stored in Apple's cloud. This so-called 'fix' merely prevents users from rediscovering this unsettling fact, rather than actually removing the deleted photos from their cloud storage. This raises important questions: Why is Apple retaining these photos? What is the purpose behind keeping this data indefinitely? Transparency and user trust are paramount, and users deserve clear answers regarding their data privacy.
- ZhenyuCHEN 2y agoMaybe Apple will use AI technology to analyze all of these photos, including the location and time, to grasp the secrets of everyone, and if there is a future war, Apple's data analysis will be a huge weapon
- kalleboo 2y agoThis was happening to people who don't have iCloud enabled, it has nothing to do with the cloud
- kanbara 2y agostop spreading falsehoods
- d1sxeyes 2y agoSo while that may be correct, it's absolutely not what this bug proves. This bug shows that when you delete a file on iOS, it does not immediately get removed from YOUR filesystem. The 'important questions' you raise are predicated on a misunderstanding. In particular: 'why is Apple retaining these photos?' - Apple isn't (or at least, this bug does not show that they are). Apple reimported photos that were still present on your filesystem after you had deleted them. The question of why they're still present on the filesystem is a good and fair question. Some folks are suggesting it could be to do with these actually being copies of the originals (which is perfectly possible—as far as I can tell, copies are created when you share and when you edit) which Photos lost track of, or some engineer forgot to consider when deleting. Or it may be a performance optimisation to simply dereference the file so that the user has a silky smooth experience, and allow a background job to eventually clear up the file system, and potentially that background job crashes from time to time, whatever. Your questions on data privacy are not founded in fact here. There are some legitimate questions that users should be asking Apple here (why does Photos tell me it's deleted a file when it's still on my device is a pretty big one).
- dang 2y agoRecent and related. Others? Apple needs to explain that bug that resurfaced deleted photos - https://news.ycombinator.com/item?id=40433384 https://news.ycombinator.com/item?id=40433384 - May 2024 (60 comments) Apple's photo bug exposes the myth of 'deleted' - https://news.ycombinator.com/item?id=40422136 https://news.ycombinator.com/item?id=40422136 - May 2024 (50 comments) Apple Releases iOS 17.5.1 with Fix for Reappearing Photos Bug - https://news.ycombinator.com/item?id=40417703 https://news.ycombinator.com/item?id=40417703 - May 2024 (3 comments) iOS 17.5 Bug May Also Resurface Deleted Photos on Wiped, Sold Devices - https://news.ycombinator.com/item?id=40393913 https://news.ycombinator.com/item?id=40393913 - May 2024 (31 comments) iOS 17.5 is allegedly resurfacing pictures that were deleted years ago - https://news.ycombinator.com/item?id=40372867 https://news.ycombinator.com/item?id=40372867 - May 2024 (23 comments) iPhone owners say the latest iOS update is resurfacing deleted nudes - https://news.ycombinator.com/item?id=40370078 https://news.ycombinator.com/item?id=40370078 - May 2024 (47 comments)
- worstspotgain 2y agoAs the Reddit post linked in the article mentions, the photos that reappeared were manually saved as files by the user, e.g. via the share button. In fact, I believe iOS uses hardlinks for this, as it is possible to save a 40GB video on a device with 64GB storage instantly - while logged out of iCloud and without an Internet connection. Since hardlinks are used, there is likely no way to tell the original and copy apart except by their paths. The photo-rescuing algorithm that shipped in 17.5 probably wandered around the filesystem farther than intended, possibly via mds. So Apple is probably not stealing your photos. If it is, this bug is not evidence of it.
- steve1977 2y ago> In fact, I believe iOS uses hardlinks for this, as it is possible to save a 40GB video on a device with 64GB storage instantly - while logged out of iCloud and without an Internet connection. How is this an indication of hardlinks being used?
- worstspotgain 2y ago40GB (movie in Photos) + 40GB (saved file) = 80GB > 64GB total storage space on device. Hardlinks are the most straightforward way of accomplishing this. It could be something more complex like APFS container trickery or masqueraded softlinks or some such, but they may lead to the same bug anyways.
- steve1977 2y agoAh I thought "save a 40GB video on a device" meant saving it once (not in Photos and somewhere else)
- ianburrell 2y ago"Save to Files" on iPhone doesn't mean download but to save outside of Photos in Files. It makes sense to do hardlink since that doesn't duplicate storage, but deletion in Photos or Files leaves the other alone. I'm not sure if sharing to other places also makes a hardlink copy, but that would make sense.
- radicality 2y agoGood analysis! Fyi, if you want to tell apple to not store the decryption keys for your iCloud Photos, you can go into iCloud settings and enable Advanced Data Protection. You have to click through a number of warnings and set up recovery keys. We of course can’t prove that Apple isn’t still storing the keys, but imo they probably don’t even want to as it’s not their business model.
- mid-kid 2y agoSo, in short, all of this was user error (they double-saved pictures both in files and in the potos app), and we spent a week fear-mongering about privacy because too few people understand how filesystems work anymore?