Comments (6)
New update should take care of the issue, but you might need to run informant --clear-cache check
to clear out the permission error.
from informant.
The file correctly has the informant group, just wrong permissions...
I'll try to see if there's a CacheControl option for that, if not hopefully setting the correct umask in python before CacheControl runs will do the trick.
from informant.
It seems like the news feed itself might be having issues? Maybe with command line clients only? The web page seemed to load, but trying to curl the feed gave me a "too many requests" error.
from informant.
I found it, there's a new redirect from https://archlinux.org/feeds/news
to https://archlinux.org/feeds/news/
(notice trailing slash).
I'll have an update together to fix this a little later.
from informant.
Awesome, thank you so much!
from informant.
New update should take care of the issue, but you might need to run
informant --clear-cache check
to clear out the permission error.
My scenario: Installed informant and added myself to the informant
group – as per post-install message; but as I dread rebooting I used it with root
some times before system reload. The result was that I had a lock file in /var/cache/informant/...
that only had read permissions by informant after reboot. Resulting in (as shown by strace
- only mentioning as that was how I found the culprit):
openat(AT_FDCWD, "/var/cache/informant/6/c/0/1/e/012fbc....lock", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = -1 EACCES (Permission denied)
ERROR: Unable to read cache information: ("Connection broken: PermissionError(13, 'Permission denied')", PermissionError(13, 'Permission denied'))
or by ls -la /var/cache/informant/6/c/0/1/e/
:
-rw-r--r-- 1 root informant 0 Oct 2 15:09 012abc....lock
Tested a sudo informant read
after boot and then I get:
-rw-rw-r-- 1 root informant 20K Oct 6 11:13 0123abc...
-rw-r--r-- 1 me informant 0 Oct 6 11:13 0123abc....lock
Not sure; but one could perhaps tweak the permission hierarchy or give a message saying one need to do a clearing of cache on reboot if used with root (yes, that is wonky to explain). Or perhaps a note in the manual on --clear-cache
... not sure .... as one can clear the cache as the directory itself has proper rights for informant
.
from informant.
Related Issues (20)
- informant is not the first pre-transaction hook that gets run HOT 2
- Add ability to use shortened commands HOT 5
- informant version
- Display name of package or `informant read` command HOT 4
- Warn instead of breaking during offline operations
- Wiishlist : Is it possible to give it a similar but different source to read the news HOT 2
- Does this work with AUR helpers? HOT 2
- Why does informant need sudo? HOT 2
- Error from CacheControl when permissions fail on cache directory HOT 5
- Q regarding today's update HOT 2
- [Solved] Error with "informant read --all" HOT 1
- Informant prevents installation from local cache if there is no internet connection HOT 2
- Computer froze during pacman install, informant now hangs infinitely HOT 3
- Partial update when aborting update due to unread news HOT 5
- Fails after Python 3.10 update HOT 2
- informant fails after major Python upgrade HOT 7
- News comes in too late HOT 2
- Informant fails if there's no internet connection
- Improve informant read HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from informant.