Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 6d2b223

Browse files
authored
Merge pull request #414 from linuxserver/perms-patch-1
modify dns-conf permissions
2 parents c25bf68 + 4249fc0 commit 6d2b223

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ app_setup_nginx_reverse_proxy_block: ""
125125

126126
# changelog
127127
changelogs:
128+
- { date: "24.02.20:", desc: "Remove world/group read permissions in dns-conf." }
128129
- { date: "23.02.20:", desc: "Add aliyun dns validation plugin." }
129130
- { date: "28.01.20:", desc: "Deprecate tls-sni validation method, remove from docs." }
130131
- { date: "27.01.20:", desc: "Add support for cpanel dns validation." }

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,3 +283,5 @@ chown -R abc:abc \
283283
chmod -R 0644 /etc/logrotate.d
284284
chmod -R +r /config/log
285285
chmod +x /app/le-renew.sh
286+
chmod 700 /defaults/dns-conf
287+
chmod 600 /defaults/dns-conf/*

0 commit comments

Comments
 (0)