mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Unix permission on dkim
This commit is contained in:
parent
2be911d369
commit
2c9a668afe
1 changed files with 6 additions and 0 deletions
|
@ -3,3 +3,9 @@
|
||||||
backup_dir="$1/etc/dkim"
|
backup_dir="$1/etc/dkim"
|
||||||
|
|
||||||
cp -a $backup_dir/. /etc/dkim
|
cp -a $backup_dir/. /etc/dkim
|
||||||
|
|
||||||
|
chown -R root:root /etc/dkim
|
||||||
|
chown _rspamd:root /etc/dkim
|
||||||
|
chown _rspamd:root /etc/dkim/*.mail.key
|
||||||
|
chmod 600 /etc/dkim/*.mail.txt
|
||||||
|
chmod 400 /etc/dkim/*.mail.key
|
||||||
|
|
Loading…
Add table
Reference in a new issue