mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
regenconf: fix a stupid bug using chown instead of chmod ...
This commit is contained in:
parent
0d0740826d
commit
af93524c36
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ do_post_regen() {
|
|||
regen_conf_files=$1
|
||||
|
||||
# Force permission (to cover some edge cases where root's umask is like 027 and then dnsmasq cant read this file)
|
||||
chown 644 /etc/resolv.dnsmasq.conf
|
||||
chown root /etc/resolv.dnsmasq.conf
|
||||
chmod 644 /etc/resolv.dnsmasq.conf
|
||||
|
||||
# Fuck it, those domain/search entries from dhclient are usually annoying
|
||||
# lying shit from the ISP trying to MiTM
|
||||
|
|
Loading…
Add table
Reference in a new issue