mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-05-20 00:45:06 +03:00
Prevent deb package postinst script from generating a config readable by everyone
This commit is contained in:
parent
e7c0bd20dc
commit
ed0dc0d115
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ then
|
|||
chmod 640 /etc/yggdrasil/yggdrasil.conf
|
||||
else
|
||||
echo "Generating initial configuration file /etc/yggdrasil/yggdrasil.conf"
|
||||
/usr/bin/yggdrasil -genconf > /etc/yggdrasil/yggdrasil.conf
|
||||
(umask 037 && /usr/bin/yggdrasil -genconf > /etc/yggdrasil/yggdrasil.conf)
|
||||
|
||||
chown root:yggdrasil /etc/yggdrasil/yggdrasil.conf
|
||||
chmod 640 /etc/yggdrasil/yggdrasil.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue