Removed write permissions for group and other in Integrations folder (#226)

* Removed go-w permissions in integrations folder

* Modified permissions command
This commit is contained in:
Mayte Ariza
2019-08-27 13:31:04 +02:00
committed by Jesús Linares
parent 7c11a8568c
commit 7afe64b238

View File

@@ -259,6 +259,9 @@ main() {
# When modifiying some files using the Wazuh API (i.e. /var/ossec/etc/ossec.conf), group rw permissions are needed for changes to take place.
# https://github.com/wazuh/wazuh/issues/3647
chmod -R g+rw ${WAZUH_INSTALL_PATH}
# Files inside /var/ossec/integrations should not have write permissions for group and other.
chmod -R 750 "/var/ossec/integrations/"
}
main