[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /.cache directory



Avinash Sonawane wrote on 25/09/2025 17:59:
Hello!

I'm using Debian GNU/Linux 13 (trixie) which I recently installed. 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? Who has
created it? Seems to be a bug in some package which has created it...

$ ls -la /
total 76
drwxr-xr-x  19 root root  4096 Sep 23 12:17 .
drwxr-xr-x  19 root root  4096 Sep 23 12:17 ..
lrwxrwxrwx   1 root root     7 Sep 15 06:58 bin -> usr/bin
drwxr-xr-x   4 root root  4096 Sep 23 12:18 boot
drwx------   2 root root  4096 Sep 15 07:08 .cache
drwxr-xr-x  20 root root  3620 Sep 25 20:30 dev
drwxr-xr-x 160 root root 12288 Sep 25 20:34 etc
...

Hi, probably, it was created by an installer script. By going through the log (files) of dpkg, it may be possible to narrow down the list of candidate packages using the creation time of /.cache. Of course, no installation (postinst) script (which are stored in /var/log/dpkg/info/) should leave a /.cache directory.

Regards,
Jörg.



Reply to: