[Bug 1843606] Re: command-not-found unable to open database file (because it is readable only by root)
Sergio Callegari
sergio.callegari at gmail.com
Sat Sep 14 16:02:15 UTC 2019
My feeling is that the file permissions are changed whenever apt
installs something on the system. Is apt running some update script with
a wrong umask?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1843606
Title:
command-not-found unable to open database file (because it is readable
only by root)
Status in command-not-found package in Ubuntu:
New
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/command-not-found are owned
by root and have permissions set so that they are readable only by the
owner.
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
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
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)
PackageArchitecture: all
SourcePackage: command-not-found
UpgradeStatus: Upgraded to disco on 2019-06-12 (91 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1843606/+subscriptions
More information about the foundations-bugs
mailing list