Merge pull request #11716 from 532910/prosody-scurity-fix
prosody: /etc/prosody owner fix
This commit is contained in:
commit
524b36c7d8
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=prosody
|
||||
PKG_VERSION:=0.11.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://prosody.im/downloads/source
|
||||
|
|
|
@ -23,7 +23,8 @@ start_service() {
|
|||
}
|
||||
|
||||
[ -d /var/log/prosody ] && {
|
||||
chown -R prosody:prosody /etc/prosody
|
||||
chown -R root:prosody /etc/prosody
|
||||
chown -R prosody:prosody /etc/prosody/data
|
||||
}
|
||||
|
||||
[ -f /sbin/paxctl ] && {
|
||||
|
|
Loading…
Reference in a new issue