The Pro client is responsible for setting the credentials, that said this may be the correct behavior, it may also depend on the umask of your root user.
As in, it makes sense to protect the credentials from non-root users, you don't want e.g. some daemon to gain access to it and leak it. ** Package changed: apt (Ubuntu) => ubuntu-advantage-tools (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/2077805 Title: "apt download" fails for ESM packages Status in ubuntu-advantage-tools package in Ubuntu: Invalid Bug description: "apt download" fails when attempting to download an app from the ESM repos. "sudo apt download" is necessary. $ apt download hello Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello amd64 2.10-2ubuntu4+esm1 Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello amd64 2.10-2ubuntu4+esm1 Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello amd64 2.10-2ubuntu4+esm1 Err:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello amd64 2.10-2ubuntu4+esm1 401 Unauthorized [IP: 2620:2d:4000:1::2e 443] E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/h/hello/hello_2.10-2ubuntu4%2besm1_amd64.deb 401 Unauthorized [IP: 2620:2d:4000:1::2e 443] $ sudo apt download hello Get:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello amd64 2.10-2ubuntu4+esm1 [26.5 kB] Fetched 26.5 kB in 10s (2,610 B/s) A wild stab in the dark: the credentials to access the ESM servers are not readable by unpriveleged users. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: apt 2.4.12 ProcVersionSignature: Ubuntu 6.8.0-38.38~22.04.1-generic 6.8.8 Uname: Linux 6.8.0-38-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: MATE Date: Sat Aug 24 19:58:06 2024 SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2077805/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp