I just got a warning from a sanity check in a script I wrote, telling me it could not identify the user for a cache folder (in /var/folders/). Turns out it's a user that has been deleted, so the user is simply reported as "504". This is on Mac OS 10.9.5. I'm wondering if this bug exists in 10.10 and 10.11, not deleting the cache folder when deleting a user?

(every user has a cache folder, it'll be one of the subfolders in /var/folders/, every folder IN that folder is owned by root, the user's cache folder is a sub folder inside one of them)


I work for the Department of Redundancy Department