Unable to save read information in informant.dat
See original GitHub issueOn running informant read 0
on first use it returns the following error:
ERROR: Unable to save read information, please re-run with correct permissions to access "/var/cache/informant.dat".
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Google Calendar Usage Limits — Pocket Informant Help Center
Unable to save event. This means you have reached the limit for the number of events you can edit. There was a problem...
Read more >Winmail Viewer - Open dat file on the Mac App Store - Apple
This is a very simple yet useful tool to batch open and read windmail files, it works very smoothly, what's more, I can...
Read more >Pepe - Informant - YouTube
Music video by Pepe performing Informant. (C) 2016 Eigen Makelij exclusively licensed to Sony Music Entertainment Belgium ...
Read more >Folder FAQs for Scripted Data Cleanup - ITPro Today
Keep in mind that the code snippets and script in this article can ... The Rmdir command lets you delete empty folders, but...
Read more >How We Diagnose Dementia: The Practical Basics to Know
I also try to get information from family members about any of the eight ... I have also occasionally documented that a patient...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As of the latest AUR version
0.1.0-2
you should be able to add your user to the “informant” group in order to avoid using sudo.The reason I recommend the
informant
group instead of changing the default save location is because of the pacman hook functionality.When the pacman runs the hook the script (unless I’m mistaken) will be executing as root (or at least as euid 0). It didn’t seem appropriate to me for a system utility to have it’s save data in a user directory.
Other than modifying the script after it’s installed to hard code the user folder I didn’t see a clean way to determine the user’s home directory (as the hook would evaluate
~/.cache/
to/root/.cache/
not the user’s home directory). Then when run standalone by the userinformant
would have a separate save data from when it’s run as a pacman hook, which in turn could cause pacman to prompt a user to re-read some news items.It’s a bit weird trying to figure out the default behavior of something like this, as it can run as a system utility (pacman hook) or standalone by a user. Should multi-user systems be considered? Are all users that would use
informant
expected to have privileges to runpacman
to update the system? Currently using theinformant
group I’m assuming that any user that will runinformant
standalone understands they will modify the system state and thus effect the behavior of the pacman hook, if users don’t want to modify the system stateinformant -f <file>
should be used instead.If anyone has better recommendations for default behaviors, or finds I’m incorrect about something I’m open to changing it.