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

[BUG] Logo isn't displayed when image is run as non-root user #502

Closed
kaysond opened this issue Aug 4, 2023 · 3 comments
Closed

[BUG] Logo isn't displayed when image is run as non-root user #502

kaysond opened this issue Aug 4, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@kaysond
Copy link
Contributor

kaysond commented Aug 4, 2023

Describe the bug
If I run the scrutiny image with a --user or user: setting, the image assets don't load

Expected behavior
Image should load

Screenshots
image

I'm guessing the issue is that /opt/scrutiny/web/assets in the container image does not have executable permission set (and maybe can't be read either?).

@kaysond kaysond added the bug Something isn't working label Aug 4, 2023
@kaysond
Copy link
Contributor Author

kaysond commented Aug 4, 2023

Just tried adding an extra chmod to the dockerfile and it fixes the problem. Let me know if you'd like a PR!

@atlanticfirst
Copy link

same issue,--cap-add=DAC_OVERRIDE fixes the problem

@kaysond
Copy link
Contributor Author

kaysond commented Nov 24, 2023

Fixed by #520

@kaysond kaysond closed this as completed Nov 24, 2023
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