ZeroTierOne
ZeroTierOne copied to clipboard
About apt-key related issues in Tencent Cloud server debian 12 system
uname -a
Linux VM-0-9-debian 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
apt version is 2.6.1
In the RPM/DEB script install code line 251::
$SUDO apt-key add /tmp/zt-gpg-key
A GPG is added here using apt-key, but the following prompts appear in a subsequent installation:
The key(s) in the keyring /etc/apt/trusted.gpg.d/zerotier-debian-package-key.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
After being diagnosed,/etc/apt/trusts.gpg.d/zerotier-debian-package-key.gpg
certificate authority error,
-rw-r----- 1 root root 2254 Feb 4 12:45 zerotier-debian-package-key.gpg
The following are the fixed permissions
-rw-r--r-- 1 root root 2254 Feb 4 12:47 zerotier-debian-package-key.gpg
I don't know why, but it was easy, you know