Re: /.cache directory
On Thu, Oct 2, 2025 at 12:45 PM Anssi Saari
<anssi.saari@debian-user.mail.kapsi.fi> wrote:
>
> Henrik Ahlgren <pablo@seestieto.com> writes:
>
> > I have noticed the /.cache directory present on two of my machines that
> > are running desktop environments. It appears to be absent from my
> > headless server machines. The timestamp indicates it is from 2023, so I
> > assume it was created during bookworm. The directories are empty.
>
> I also have a /.cache on my Debian laptop running KDE. It's dated
> February 12, 2022 which is probably when I installed Debian and includes
> one empty directory called appstream.
Interesting. I got curious, similar situation here.
# ls -lad /.cache
drwx------ 1 root root 0 Sep 16 2023 .cache/
I had assumed that this machine was older but I probably re-installed
it around then, because most of the files I expect to be created at
install-time are created at the same time. A bunch of unrelated files
that I would never touch or knew was there was created within the same
+/- 10 seconds. Funny enough, almost all of them are in /etc and those
who aren't are softlinks to files in /etc. Wonder if it's some
post-install script that's using this.
I've used and installed debian for 20 years, always use the expert
"TUI" installer, rarely anything fancy and probably not this time
either. That should rule out "oh you did something wrong" problems.
This should be easy to check for someone with time to try installing a
few times and see when it's created.
Reply to: