10000 Updated manager permissions files from `640` to `660` by davidcr01 · Pull Request #1239 · wazuh/wazuh-ansible · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated manager permissions files from 640 to 660 #1239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

davidcr01
Copy link
Contributor

Description

Closes: #1201

The aim of this PR is to update some of the manager's files permissions which were not up-to-date.
These changes involve the permissions of the rules files, decoders files, and the agent.conf file. These changes have been applied following the same permissions as the specs of the Wazuh manager package.

Testing

The testing is in: #1201 (comment)

root@ubuntu22:/home/vagrant# ls -ltr /var/ossec/etc/rules/
total 8
-rw-rw---- 1 wazuh wazuh 496 Mar  6 11:35 local_rules.xml
-rw-rw---- 1 wazuh wazuh 457 Mar  6 11:35 sample_custom_rules.xml

root@ubuntu22:/home/vagrant# ls -ltr /var/ossec/etc/decoders/
total 8
-rw-rw---- 1 wazuh wazuh 775 Mar  6 11:35 local_decoder.xml
-rw-rw---- 1 wazuh wazuh 775 Mar  6 11:35 sample_custom_decoders.xml

root@ubuntu22:/home/vagrant# ls -ltr /var/ossec/etc/
total 64
-rw-r----- 1 root  wazuh   114 Jan  2 19:37 localtime
-rw-r----- 1 root  wazuh 14293 Feb 22 09:10 internal_options.conf
drwxrwx--- 2 root  wazuh  4096 Mar  6 11:35 rootcheck
-rw-r----- 1 root  root   1704 Mar  6 11:35 sslmanager.key
-rw-r----- 1 root  root   1164 Mar  6 11:35 sslmanager.cert
-rw-r----- 1 wazuh wazuh     0 Mar  6 11:35 client.keys
drwxrwx--- 2 root  wazuh  4096 Mar  6 11:35 rules
drwxrwx--- 2 root  wazuh  4096 Mar  6 11:35 decoders
-rw-r----- 1 root  wazuh   473 Mar  6 11:35 local_internal_options.conf
-rw-r--r-- 1 root  wazuh  8824 Mar  6 11:35 ossec.conf
drwxrwx--- 3 root  wazuh  4096 Mar  6 11:35 shared
drwxrwx--- 3 root  wazuh  4096 Mar  6 11:35 lists

root@ubuntu22:/home/vagrant# ls -ltr /var/ossec/etc/ | grep local_internal_options
-rw-r----- 1 root  wazuh   473 Mar  6 11:35 local_internal_options.conf
root@ubuntu22:/home/vagrant# 

@davidcr01 davidcr01 requested a review from a team March 6, 2024 15:13
@davidcr01 davidcr01 self-assigned this Mar 6, 2024
@davidcr01 davidcr01 linked an issue Mar 6, 2024 that may be closed by this pull request
@teddytpc1 teddytpc1 merged commit 4365350 into 4.8.2 Mar 6, 2024
@teddytpc1 teddytpc1 deleted the bug/1201-update-permissions-manager branch March 6, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect permissions for local rules directory
2 participants
0