Public bug reported: Usecase:
* Have a non-admin user with umask 027 * That non-admin user does 'sudo apt ...' that triggers rebuild of /var/lib/command-not-found/commands.db The result is that /var/lib/command-not-found/commands.db is no longer readable by any non-root user because user's umask gets inherited and used. 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 ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia 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) PackageArchitecture: all SourcePackage: command-not-found UpgradeStatus: Upgraded to disco on 2019-05-02 (2 days ago) ** Affects: command-not-found (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827759 Title: Doesn't work properly with umask 027 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1827759/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs