command-not-found unable to open database file (because it is readable only by root)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 19.04 I repeatedly encounter command-not-found crashing because it is unable to open its database.
Inspection reveals that files in /var/lib/
Deleting these files or changing their permission to be universally readable fixes the issue.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: command-not-found 18.10.0~pre2
ProcVersionSign
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Sep 11 17:48:29 2019
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-12-12 (2098 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
SourcePackage: command-not-found
UpgradeStatus: Upgraded to disco on 2019-06-12 (91 days ago)
> Deleting these files or changing their permission to be universally readable fixes the issue.
Temporarily fixes the issue. For some reason, at some point the files go back to being -rw------- rather than -rw-r--r--.