stuff keeps creating /.cache #542
Replies: 4 comments 1 reply
-
|
All I can suggest is that maybe these daemons are trying to put something under $HOME or $XDG_RUNTIME_DIR, or some other location specified by an environment variable, and that variable isn't being set. Perhaps try |
Beta Was this translation helpful? Give feedback.
-
|
the files now go into /root/.cache, but /.cache is still being created even though it is empty |
Beta Was this translation helpful? Give feedback.
-
|
Are you perhaps running as root daemons that are not intended to be run as root? If you run them as a non-root user then they shouldn't have permission to write in |
Beta Was this translation helpful? Give feedback.
-
|
idk im not sure, what user should they be ran as? is there like a default daemon/service user? for example, kmscon puts mesa cache , and reflector puts mirrorlist status.json. on systemd, reflector puts it in /var/cache/reflector, while my dinit service right now after i add load-options puts it in /root/.cache, put also creates an empty /.cache |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i know this isn't exactly dinit's fault, but some daemons create .cache in / and its really annoying, i have a lot of random services and daemons and they do this, but is there a way to stop them from making /.cache or put it somewhere else?
it doesn't happen with other init systems like systemd or openrc
Beta Was this translation helpful? Give feedback.
All reactions