I wrote a package, and would like to use
/var to persist some data. The data I'm storing would perhaps even be thought of as an addition for
The pattern I observe is that files in
/var/db, and the surrounds, are owned by
root. The primary (intended) use of the package filters cron jobs - meaning you would need permissions to edit the crontab.
- Should I presume a sudo install of the package?
- Should I have the package gracefully degrade to a
/usrsubdir, and if so then which one?
- If I 'opinionate' that any non-sudo install requires a
configrc(with paths), where should the package look (presuming a shared-host environment) for that config file?
- Should I use
/usr/libas per the thoughts in this article?
Incidentally, this package is a ruby gem, and you can find it here.