debian-cryptoanarchy / cryptoanarchy-deb-repo-builder

Tooling for building a Debian repository containing interconnected, well-working applications.
145 stars 25 forks source link

Bug: LND admin.macaroon permissions no longer reliably set to 640 #162

Closed Kixunil closed 2 years ago

Kixunil commented 3 years ago

Have you read the documentation? Yes.

Describe the bug LND macaroon permissions can be 600.

To Reproduce Steps to reproduce the behavior:

  1. Install packages: lnd, bitcoin-regtest
  2. Run ls -l /var/lib/lnd-system-regtest/private/admin.macaroon
  3. See permissions -rw------- (AKA 600)

Expected behavior Permissions -rw-r----- (AKA 640)

System OS, if anything else than Debian Buster: Buster Installed packages from this repository and their versions: lnd experimental latest Is apparmor enabled? no

Non-default configuration settings N/A

Logs of affected package(s) N/A

Kixunil commented 3 years ago

The best solution is https://github.com/lightningnetwork/lnd/pull/5534 but we don't want to wait that long. :(

Kixunil commented 2 years ago

The LND version with that patch is already available.