Skip to content

Conversation

@caffeinatedpixel
Copy link
Contributor

Closes: #30

The existing permission flag checks: info.Mode().Perm()&0444 == 0444 requires global read permissions (user, group, others), which is not ideal. While we could check if any read permissions are set, some ACL systems/SELinux might interfere with this. It's better to let the Open() call on the log files return an error if permission is denied.
This PR removes the permission flag checks.

@lisaSW lisaSW merged commit fd1bbe3 into develop Dec 3, 2025
5 checks passed
lisaSW added a commit that referenced this pull request Dec 9, 2025
lisaSW added a commit that referenced this pull request Dec 9, 2025
@lisaSW lisaSW deleted the 30-log-permissions branch December 9, 2025 20:34
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.

Rita ignores log files that aren't explicitly at least mode 444

3 participants