Merge pull request #11716 from 532910/prosody-scurity-fix

prosody: /etc/prosody owner fix
This commit is contained in:
Rosen Penev 2020-03-30 14:59:06 -07:00 committed by GitHub
commit 524b36c7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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 ] && {