mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-01 20:43:44 +00:00
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:
committed by
Jesús Linares
parent
7c11a8568c
commit
7afe64b238
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user