Re: /.cache directory
On Thu, Sep 25, 2025 at 17:23:18 +0000, Andy Smith wrote:
> Hi,
>
> On Thu, Sep 25, 2025 at 09:29:32PM +0530, Avinash Sonawane wrote:
> > I noticed that there is a directory named ".cache" at root level. It
> > seems to be created at the time of installation. What is it?
>
> It's one of the XDG standard directories.
>
> https://specifications.freedesktop.org/basedir-spec/latest/
The only mention of .cache I see in that page is $HOME/.cache but this
is not in a home directory. Not even root's. Unless at some point
root's $HOME was set to / instead of /root.
That said, I don't see any cause for alarm here. It's not taking up
much space (being an empty directory), and you can easily remove it if
it bothers you.
For the record, I don't have a /.cache directory on my system, which
was installed as Bookworm but upgraded to Trixie.
Reply to: