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

All files in /var/cache/baculatis have 777 permission #6

Closed
keestux opened this issue Jul 30, 2024 · 2 comments
Closed

All files in /var/cache/baculatis have 777 permission #6

keestux opened this issue Jul 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@keestux
Copy link

keestux commented Jul 30, 2024

Installation is Ubuntu 22. Everything manually installed (well, through ansible).

The files created in /var/cache/bacularis all have 777 permission. That's not good practice.

@ganiuszka ganiuszka self-assigned this Jul 30, 2024
@ganiuszka ganiuszka added the bug Something isn't working label Jul 30, 2024
@ganiuszka
Copy link
Member

Hello @keestux,

Thank you for reporting this issue.

Yes, you are right, the permissions are incorrect. This is a bug that will be fixed quickly.

Best regards,
Marcin Haba (gani)

ganiuszka added a commit to bacularis/bacularis-common that referenced this issue Jul 30, 2024
This bug has been reported by @keestux in bacularis-web repository:

bacularis/bacularis-web#6
@ganiuszka
Copy link
Member

Hello @keestux,

This bug has been fixed. Now the default asset file permissions are 644, and asset dir permissions are 755.

This change will be available in the next release.

After upgrading you can manually remove all content of the /var/cache/bacularis/ and the assets will be re-created with correct permissions. We will also add appropriate information to the release notes about it.

Thank you!

Best regards,
Marcin Haba (gani)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants