Close Menu
Tech Nova Mindset – Empower Innovation and Forward Thinking

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    IEEE Chapter Offers Webinars With Industry Experts

    November 3, 2026

    Here’s Why You Shouldn’t Use AI to Vote

    November 3, 2026

    The Download: controlling AI agents and “Super Intelligence” loyalty tests

    November 3, 2026
    Facebook X (Twitter) Instagram
    Trending
    • IEEE Chapter Offers Webinars With Industry Experts
    • Here’s Why You Shouldn’t Use AI to Vote
    • The Download: controlling AI agents and “Super Intelligence” loyalty tests
    • Your voice can now say things you never said
    • ‘Our Risk, Their Reward’: Zohran Mamdani on AI and Data Centers
    • How “reverse game theory” could keep AI agents in check
    • Here’s who is falling in line for Trump’s “Super Intelligence” loyalty test
    • Scientists Can Now Ask AI to Design Proteins Using Plain Language
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    • Home
    • Gadgets
    • Reviews
    • Tech News
    • Future Tech
    • AI & Robotics
    • How-To Guides
    • More
      • Cybersecurity
      • Startups & Innovation
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    Home»Cybersecurity»VS Code for Linux may be secretly hoarding trashed files • The Register
    Cybersecurity

    VS Code for Linux may be secretly hoarding trashed files • The Register

    kirklandc008@gmail.comBy kirklandc008@gmail.comFebruary 4, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    VS Code for Linux may be secretly hoarding trashed files • The Register
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Linux users who installed Microsoft’s Visual Studio Code as a Snap package may want to check to see whether files they sent to the trash with the app have actually been deleted.

    A handful of Linux-based developers have found large amounts of supposedly deleted data on their computers, in some cases consuming hundreds of gigabytes of storage.

    The reason for this is Snap – a Linux application packaging format – creates a local Trash folder for each VS Code version, one that’s separate from the system-managed Trash, according to a VS Code bug report dating back to November 11, 2024.

    Not only that, but Snap keeps older versions of VS Code after updates, potentially multiplying the number of local Trash folders and the trashed-but-not-deleted files therein. Emptying the system Trash folder doesn’t affect the local instances.

    Neither VS Code nor Snap offers a way to manage these local trash folders, though this can be achieved with the command line.

    The root cause of the mess, according to a Microsoft engineer, is an unfixed VSCode change from October 11, 2024, that sets the XDG_DATA_HOME environment variable equal to $SNAP_USER_DATA/.local/share.

    “This creates a bogus Trash that’s not the system one, and as such is unmanageable (and is carried over from update to update, gradually inflating),” the bug report explains.

    The bug may also cause issues beyond unexpected file retention, including messing up fish terminal history, interfering with uv Python installations, and Jupyter Notebook problems, among others.

    Robotics engineer Iván López Broceño reports finding almost 200 GB of files that he believed he deleted.

    Web developer Chris Hayes said in the discussion thread that he found 44 GB of files in Snap’s local Trash folder dating back two years.

    Asked whether it’s unusual for a bug like this to linger unfixed for more than a year, Hayes via email replied, “I’d say this is unusual when the risk is that the user can totally run out of space on their machine. In fact, that’s how I first discovered it. I was running out of space, I pulled open Ubuntu’s ‘Disk Usage’ and was pretty confused by how much space the VS Code snap was using.”

    Hayes, however, said he could understand how a bug like this might get lost in a massive repo like VS Code, which has 12,000+ open issues.

    He added that the number of Linux VSCode users using Snap is probably not all that small. Snap, he said, the default for the Ubuntu App Store, though the default for VS Code is .deb for Linux users rather than Snap.

    “I feel like a lot of people don’t know about this because either they haven’t run out of space or they didn’t dig into their disk space usage,” he said.

    “The only other thing I’d add is running out of space on Linux can do some weird stuff, since Linux is so dependent on files for running everything. So, while this isn’t a security vulnerability, it feels like it’s getting lost in the sauce for something that can very much break your Linux machine. Not too long ago I was booting into a USB Linux to restore a corrupted file system on my desktop, it was probably for unrelated reasons, but it can definitely be a problem.” ®

    Code files hoarding Linux Register secretly trashed
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    kirklandc008@gmail.com
    • Website

    Related Posts

    Poetry for Engineers: Of Code and Shortleaf Pine

    October 26, 2026

    Flock Has a Powerful New AI Tool for Police. We Got Its Code

    August 19, 2026

    Ransomware in 2026: More groups, more victims, no slowdown

    July 26, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Nothing CEO says phone prices are going to keep going up

    June 12, 20267 Views

    The best VPN routers of 2026: Expert tested and reviewed

    June 14, 20263 Views

    Google DeepMind Plans to Track AGI Progress With These 10 Traits of General Intelligence

    March 21, 20263 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Recent Posts
    • IEEE Chapter Offers Webinars With Industry Experts
    • Here’s Why You Shouldn’t Use AI to Vote
    • The Download: controlling AI agents and “Super Intelligence” loyalty tests
    • Your voice can now say things you never said
    • ‘Our Risk, Their Reward’: Zohran Mamdani on AI and Data Centers

    IEEE Chapter Offers Webinars With Industry Experts

    November 3, 2026

    Here’s Why You Shouldn’t Use AI to Vote

    November 3, 2026

    The Download: controlling AI agents and “Super Intelligence” loyalty tests

    November 3, 2026

    Your voice can now say things you never said

    November 3, 2026
    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    © 2026 TechNovaMindset. Designed by By Pro.

    Type above and press Enter to search. Press Esc to cancel.