Doesn't work properly with umask 027
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Usecase:
* Have a non-admin user with umask 027
* That non-admin user does 'sudo apt ...' that triggers rebuild of /var/lib/
The result is that /var/lib/
Expected: regardless of what umask non-root has command-not-found database should be readable by everybody.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: command-not-found 18.10.0~pre2
ProcVersionSign
Uname: Linux 5.0.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: MATE
Date: Sun May 5 00:11:49 2019
InstallationDate: Installed on 2016-02-20 (1169 days ago)
InstallationMedia: Ubuntu-MATE 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
SourcePackage: command-not-found
UpgradeStatus: Upgraded to disco on 2019-05-02 (2 days ago)
Thanks for posting this bug. It's occurring for me as well. I fixed it with a default POSIX ACL on the /var/lib/ command- not-found directory.
Full info in this other bug: https:/ /bugs.launchpad .net/command- not-found/ +bug/1824000? comments= all