Skip to content
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

fix logs folders perms #1774

Merged
merged 1 commit into from Feb 20, 2024
Merged

fix logs folders perms #1774

merged 1 commit into from Feb 20, 2024

Conversation

OniriCorpe
Copy link
Member

The problem

logrotate /etc/logrotate.d/kavita
error: skipping "/var/log/kavita/*.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

https://forum.yunohost.org/t/logrotate-failed/28507

Solution

chmod 640 "/var/log/$app"

PR Status

yolo

How to test

...

@OniriCorpe OniriCorpe merged commit 613f41d into YunoHost:dev Feb 20, 2024
2 checks passed
@OniriCorpe OniriCorpe deleted the logrotate branch February 20, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant