Skip to content

Fix logrotate permissions v2#1782

Open
karensantana wants to merge 2 commits into
dev-v2from
fix-logrotate-permissions-v2
Open

Fix logrotate permissions v2#1782
karensantana wants to merge 2 commits into
dev-v2from
fix-logrotate-permissions-v2

Conversation

@karensantana

@karensantana karensantana commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

When logrotate runs (through systemd timer or manually), it ignores /etc/logrotate.d/nginx-agent because its permissions are 0664 (group-writable) instead of 0644. This PR fixes this behavior by setting the permissions of the logrotate config file to 644.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@karensantana karensantana requested a review from a team as a code owner July 1, 2026 08:38
@github-actions github-actions Bot added bug Something isn't working chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants